I have a method that where I want to redirect the user back to a login page located at the root of my web application.
I\'m using the following code:
What about using
Response.Redirect(String.Format("http://{0}/Login.aspx?ReturnPath={1}", Request.ServerVariables["SERVER_NAME"], Request.Url.ToString()));