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
URL Traking
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: URL Traking
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.
(#10850)
-
waqas_punjabian
- Forum Commoner
- Posts: 67
- Joined: Wed Aug 10, 2005 9:53 am
Re: URL Traking
Thanks arborint.
