BeanSoftware Logo
 

 
ASP.NET Database Search Control
 
 

 
 Home
    Shop
    Advertise
    Write For Us
    Affiliate
    Newsletter
    Contact

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?

FAQ toolbar: Submit FAQ  |  Tell A Friend  |  Add to favorites  |  Feedback



Copyright © 2002-2008 Bean Software. All rights reserved.