grovemedia
Technical User
What would cause two different users on two different computers come up with the same session_id. I am using this code on each page:
session_start();
ob_start();
header("Cache-control: private");
$sessionID=session_id();
And then writing $sessionID to a database and calling from the database later by their $sessionID. Well, its returning a recordset with two rows since there were two of the same session_id in the database. I'm kinda new to PHP so any help would be greatly appreciated. Thanks.
session_start();
ob_start();
header("Cache-control: private");
$sessionID=session_id();
And then writing $sessionID to a database and calling from the database later by their $sessionID. Well, its returning a recordset with two rows since there were two of the same session_id in the database. I'm kinda new to PHP so any help would be greatly appreciated. Thanks.