|
|
|
|
Dot Net Interview Questions !!!
Interview Tips
on iGold.in
|
|
|
|
 |
Links
|
Tips and Tricks
Category :
Dotnet - General
|
|
|
|
How do I know, what page I came from
|
To get the page from where you are redirected use UrlReferrer property of Request object
The code
Request.UrlReferrer.ToString();
returns the page name from which the current page has been redirected.
Note: Check for null before calling the toString method. If the page is directly called the UrlReferrer will return null.
|
|