...

last url visited

Steven_Smith
07-31-2002, 09:58 PM
I was wondering if I should use PHP or Javascript to find out the last url visited. I need this for some security that i am building. if so, how?

Thanks
Steve:thumbsup:

firepages
08-01-2002, 03:04 AM
either way relying on the HTTP_REFERER is never secure, I would suggest using PHP sessions to track the progress of a user through a site, i.e. if a user needs to have gone to pageA before viewing pageB then you can set a session variable on pageA and check for its existance and time created on pageB which is pretty hard to spoof.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum