urlrewriter problem: Query string is duplicated shown?
Posted
by ebattulga
on Stack Overflow
See other posts from Stack Overflow
or by ebattulga
Published on 2009-10-04T10:58:10Z
Indexed on
2010/04/04
1:03 UTC
Read the original article
Hit count: 569
I'm using urlRewritingNet. My web.config is here>>
<add name="HOME" virtualUrl="^~/(.*)/Default.aspx" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/Default.aspx?PageTitle=$1" ignoreCase="true"/>
My query string is here>>
www.domain.com/home/default.aspx
This works. But I'm insert LoginStatus control. When click on the login control to logout, Page url was like this www.domain.com/home/default.aspx?PageTitle=home
Request.Querystring["PageTitle"] result is home,home
How to stop this duplicated query string?
© Stack Overflow or respective owner