How To Find Referrer URL in ASP.NET?
Your web site visitors could come from different sources, like search engines, blogs, banner ads, affiliates, web directories etc.
To find out which page is generated request to your page, use this code:
[ C# ]
string MyReferrer = Request.UrlReferrer.ToString();
[ VB.NET ]
Dim MyReferrer As String = Request.UrlReferrer.ToString()
Related articles:
1. Security Features in ASP.NET 2.0
2. Save & Read Image From Database
3. How To Get Current URL?
Copyright © 2002-2008 Bean Software. All rights reserved.