Is the URL where a user is redirected after being authenticated.
When attempting to visit a page that requires authentication, a web application can pass the original URL as a parameter to logon page. After authentication is successful, user is redirected to the URL they originally tried to visit.
Example in Asp.Net forms authentication:
- User tries to visit http://localhost/myProject/findex.aspx but is not authenticated.
- Server detects no session cookies in the request and redirects to logon page, specifying ReturnUrl as parameter by encoding the original Url. http://localhost/myProject/Myloginform.aspx?ReturnUrl=%2fmyProject%2findex.aspx
- After successful authentication, user is redirected to ReturnUrl: http://localhost/myProject/findex.aspx