Page 1 of 1

URL Traking

Posted: Fri May 08, 2009 10:01 am
by waqas_punjabian
Hi all,

I need to develop a mechanism in my website that should track user navigation in my website.
That tracking will help me in several ways. For example,

1) A user signs in and visit different pages. Now, he goes inactive for 30 minutes and signs out automatically. If he signs in again, he should navigate to that page where he was previously.

2) A product page can be visited through following routes:

a) Home >> New Products >> ABC-Product
b) Home >> Featured Products >> ABC-Product
a) Category >> Sub-Category >> ABC-Product

Now, on ABC-Product page, the Bread Crumb (Navigation) links should be managed accordingly.

Can you please give me some idea, how can I track user where he is navigating?

Thanks in advance,
Waqas

Re: URL Traking

Posted: Fri May 08, 2009 10:13 am
by Christopher
For #1 you probably want to save the location in a cookie or in the database associated with the user's record. For #2 you probably want to save the "breadcrumbs" in the session as a simple stack that you can use to display those links.

Re: URL Traking

Posted: Mon May 11, 2009 7:46 am
by waqas_punjabian
Thanks arborint. :D :D :D