How to remove returnurl from url?
This is the nature of Forms Authentication. (which im guessing you’re using). That is, when you access a page which requires authentication, ASP.NET will redirect you to the login page, passing in the ReturnUrl as a parameter so you can be returned to the page you came from post-login. To remove this functionality would break … Read more