Last post Dec 23, 2009 03:53 AM by Song-Tian - MSFT
Dec 20, 2009 09:00 PM|roamso|LINK
I've tried finding a solution amongst all the other posts but haven't managed to quite find one that describes my problem. However, I'm not too sure what to search for either...
I'm using UrlRewritingNet.UrlRewriter.dll and I don't have a problem with with the rewrites. My problem occurs when someone wants to login to the virtual path. My rewrite config:
<add name="rewrite1" virtualUrl="~/VirtualPath/(.+).aspx" destinationUrl="~/Destination/Category.aspx?Cat=$1" />
I browse to:
So far all good...
At this point I login. On the login page, the url displayed lookes like this:
And after logging in:
When I now try to retrieve the value for "Cat" query string variable, I get "Car,Car"
I've tried using control adapters as described by Scott but without luck.
Can someone explain to me why this is happening and how to fix it? Much apreciated.
urlrewrite httphandler root
urlrewritin postback ajax
ASP .net 2.0 .NET
Dec 23, 2009 03:53 AM|Song-Tian - MSFT|LINK
URL rewriting can be implemented either with ISAPI filters at the IIS Web server level, or with either HTTP modules or HTTP handlers at the ASP.NET level. It is up to you to deceide what is your project. For more details, please refer:http://msdn.microsoft.com/en-us/library/ms972974.aspx
And UrlRewritingNet.UrlRewriter.dll beyond this forum's ability. Please refer the offical website:http://www.urlrewriting.net