Last post Feb 07, 2008 06:45 AM by vik20000in
Feb 07, 2008 05:44 AM|cemundo|LINK
Hi dear readers.
How do I code the following scenario:
I want to store the referrers url on a session start i.e. in a session, cookie. I want to know from which page the customers come.
How do i code? Request.UrlReferrer is not accepted.
Should/Can i refer to Referrer.vb?
Thx in advance for your hints...
Feb 07, 2008 06:20 AM|vik20000in|LINK
Use request.IsNewSession property to find if the session is a new session or old in the page load of the base page, or you will have to write this in all the pages. And store the refferer value in the cookie is the session is anew one
Feb 07, 2008 06:33 AM|cemundo|LINK
Is this really necessary if I use Sub_SessionStart in global.asax?
Feb 07, 2008 06:45 AM|vik20000in|LINK
yes you can also use Sub_SessionStart in the global.asax