.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Code Snippets >> ASP.NET Controls >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

How to find out which page is generated request to your page

Posted By:Sudhesh.G       Posted Date: January 27, 2010    Points: 10    Category: ASP.NET Controls    URL: http://www.dotnetspark.com  

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:
 

This code sample will give you the current URL using vb.net

String referalPage = Request.UrlReferrer.ToString();

     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply

    Read also another Resources from the same Author

Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend