Categories

 

 

 

Valid XHTML 1.0 Transitional

 

Valid CSS!

 

Forums > Client Side Scripting

Subject: List history of last 5 pages visited on my site

Posted By Message  
swaggerking
Tue 3rd Nov '09
0:39
user
I'm trying find a way to display to a visitor on my site the last five or so pages he visited on my site. I'm assuming this probably done via session but unsure on how to proceed. Any suggestions are appreciated. Report Post
suehami
Wed 4th Nov '09
22:16
user
hi
if your using asp then you could use HTTP_REFERER to grab the url they came from then as you say slowly build up a list via session
i.e
session("path")=session("path")&Request.ServerVariables (HTTP_REFERER)
or you could see if you could maybe find a bit of javascript that does a bread-crumbs thing and adjust that?
Sue
Report Post
suehami
Wed 4th Nov '09
22:16
user
sorry meant to add have a look here for all the options for serverVariables
http://www.w3schools.com/asp/c...
Report Post
suehami
Wed 4th Nov '09
22:18
user
i did a very quick search and found this that might work
http://webscripts.softpedia.co...
Report Post

Reply