P
PJ Pirrello
OK, let's see if I can explain this issue well.
I have forms authentication set up on the site I am working on. It's
working correctly with one snag. When I request a resource with a
querystring, and that resource requires that I log in to view it, I am
redirected to the log in page. So far, so good. However, as an
example, say I request the following page:
http://localhost/secure.aspx?param=1
I get redirected to
http://localhost/login.aspx?ReturnUrl=/secure.aspx?param=1¶m=1
the querystring of the resource I requested is repeated in the url for
the login page (once urlencoded in the ReturnURL parameter, and once
as part of the querystring for the login.aspx page itself)
Is there something I am missing here? Why does the querystring get
repeated like that?
Thanks in advance for any help
-PJ Pirrello
I have forms authentication set up on the site I am working on. It's
working correctly with one snag. When I request a resource with a
querystring, and that resource requires that I log in to view it, I am
redirected to the log in page. So far, so good. However, as an
example, say I request the following page:
http://localhost/secure.aspx?param=1
I get redirected to
http://localhost/login.aspx?ReturnUrl=/secure.aspx?param=1¶m=1
the querystring of the resource I requested is repeated in the url for
the login page (once urlencoded in the ReturnURL parameter, and once
as part of the querystring for the login.aspx page itself)
Is there something I am missing here? Why does the querystring get
repeated like that?
Thanks in advance for any help
-PJ Pirrello