Suppose I have a website. User can come directly to my site and click on many hyperlinks just to hop from one page to another page in my site and again user can come to my site from another site like user can come to my site from Google search or another site.
My intention is that I have to detect user come from which to any page of my site from HTTP Module. Please guide me how to determine that user come from which to my site or directly accessing my site. Thanks
You can see some sample code for retrieving the referrer on msdn eg:
Uri MyUrl = Request.UrlReferrer;
Mads Kristensen has blogged about his HttpModule that reads the refererrer on his blog