User-850215804 posted
Hi, I'd like my application to return to the previous page after logging in, but I don't know how to do that. So if you're on the default.aspx and then you click the login button which brings you to login.aspx, after you login i would like my code
to send you back to default.aspx. Could someone tell me how to do this from the code behind file. The code below doesn't work, but am I close? Thank you.
Dim Current_Url
As Uri
Current_Url = HttpContext.Current.Request.Url
Response.Redirect(Current_Url)