Click here to Skip to main content
15,923,083 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
can anyone explain the fucntionality of the fallowing code??


i am not able to understand what that peace of code is doing. what is return url

C#
string returnUrl = Request.QueryString["ReturnUrl"];
                if (returnUrl == null) returnUrl = "/";
                
                Response.Redirect(returnUrl);
Posted

1 solution

You posted the same question earlier too..

http://www.codeproject.com/Answers/255284/what-is-the-returnurl-mean#answer1[^]

The solution was provided in that post...what is it that you don't understand...
 
Share this answer
 
Comments
codegeekalpha 17-Sep-11 13:15pm    
ok

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900