How to handle friendly URL rewrite?
Posted on 2009-05-26
I am writing the HTTPModule to handle the friendly URL rewrite. Everything seems to be fine until:
1. For those friendly URL ending with "/", such as /MyAccount/, if the internal URL is Account/Default.aspx, it does NOT guarantee working. It works for some pages, but not the others. I tried to remove the default page of Default.aspx from the web site home directory, but no help at all.
2. When it does not work, it throws out the error "System.Web.SessionStateModule.......". I follow the instruction by adding those seesion settings, but there is no help at all. However, if I use /MyAccount/Default.aspx. It owrks like a charm.
The issue is that the marketing team wants the URL ending with "/".
Is there anyone can help me?