When you create a new web application (either webforms or mvc) in visual studio, there is post-authentication logic that checks for a ReturnUrl param in the query string, and then redirects the user there if it exists: In weforms - Login.aspx.cs you have this:When you create a new web application (either w