Question : How to handle friendly URL rewrite?

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?

Answer : How to handle friendly URL rewrite?

In this new IIS Manager, I can only find the "Default Document" and make sure that the Default.aspx is included at the top. Just can't find the 'enable default content page'.
Random Solutions  
 
programming4us programming4us