12-30-2007, 06:16 PM
|
#3 (permalink)
|
|
The Frequenter
Join Date: Apr 2005
Location: South UK
Posts: 483
Thanks: 51
|
Is this just a one-off occurance for a particular user or does everyone experince the problem?
This error usually occurs for a couple of reasons:
1) The session ID is empty/0 for some reason - this can be fixed by regenerating the session ID:
PHP Code:
if (!session_id())
{
session_regenerate_id();
}
2) The session id is being overwritten somewhere in your script to something that is invalid.
Is it possible that you can do "die(session_id());" at the bottom of your code to see what it produces?
Alan
|
|
|