I know that 'HTTP_REFERER' is used to view the page a user viewed prior to the one that they are presently viewing. My question is this--- is it possible to use this to find out what the previous two or three pages a user viewed prior to the one they are viewing now? If the answer is yes, how would I code that?
Thanks, LordRogaine
its not possible, and even using it for the last page is hardly reliable, and by no means should be depended on. some browsers can be told to hide it, about all proxies will mask it, and sometimes its not sent at all.
is there anyway to do what I am looking for? It would hellp me with my site immensely
not really, nothing like that is sent by the browser and its only really accessable in the browsers own history stack which isnt available to you. the only thing that can be done with javascript and history is to send them back where they came from.
I see. Thank you very much for your help.
If you are only needing to know which pages have been visited within your own site, you can use sessions and pass the file names around.
And if there had been some way to do it in the dim distant past (there wasn't), so that you could find out what sites I was looking at three or four pages ago, it would have quickly been removed as a blatant breach of security.