Posts: 3,176
Name: Thierry
Location: I'm the uber Spaminator !
|
Yep, don't consider ever that you have the referrer.
You could emulate it easily, with something like
PHP Code:
$_SESSION['lastPage']=$_SERVER['PHP_SELF'];
at the end of each page, or in an appended file.
That way, you can track which page the user watched on the last access, and you update it at the end of the running script.
The referrer is totally inaccurate and can be modified client side, do not ever trust it.
__________________
Only a biker knows why a dog sticks his head out the window.
|