View Single Post
Old 12-30-2007, 06:16 PM   #3 (permalink)
Alan @ CIT
Member of the Month
The Frequenter
Member of the Month Top Contributor 
 
Alan @ CIT's Avatar
 
Join Date: Apr 2005
Location: South UK
Posts: 483
Thanks: 51
Alan @ CIT is on a distinguished road
Default

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
Send a message via MSN to Alan @ CIT
Alan @ CIT is offline  
Reply With Quote