When you use ASP.NET's Form Authentication, a query string key would be passed to login page, which is named "ReturnUrl".
For example, if you're not logged in already and you want to see a secure page like http://www.example.com/securepage.aspx
, you would be redirected to:
http://www.example.com/login.aspx?ReturnUrl=securepage.aspx
(Or something like that, I'm not pretty sure about ReturnUrl value).
Now, Is there a way to change this ReturnUrl
name, to something like path
for example? Do we have a kind of configuration in web.config for that?