Does anyone know why PHP sessions will just stop passing the variables from a session?
The problem I am having is that the user account data will just disappear from one page to the next.
I have a set of scripts that use an include file.
Inside this file I use the following code
session_start();
session_register('acctid');
session_register('loggedin');
In each script I am now passing the session id
<a href=\"./nextpage.php?PHPSESSID=session_id()\">link</a>
The sessions are crapping out at random. Some users can be logged in for over an hour and some will be lost after only one or two pages.
Please let me know if you have experienced this or know what I am doing wrong.
John