Thursday, March 22, 2012

Masking a URL

Hi

I've built a small web application where the main page has a complex URL string with a lot of query string details. What I'd like is to change the URL string for the browser to something really simply, just for aesthetical reasons more than anything else – I don't need it to work (i.e., if a user where to type the URL, I don't need it to load the page), it's more of a mask – is this possible??

Many thanks
Richard

In case it's not too static for your scenatio, URL Mapping in ASP.NEt 2.0 could work for you:http://www.developer.com/net/asp/article.php/3581326


There's actually a brilliant video on this website all about URL rewriting, and even about getting rid of the form ACTION attribute.

http://www.asp.net/learn/videos/video-154.aspx

Personally, I use ISAPI_rewrite (http://www.helicontech.com/) for the URL rewriting/mapping.


Another URL rewriting component righthere.

0 comments:

Post a Comment