RE: [PHP] Meaning of "Session object destruction failed" error?

From: Date: Fri, 02 May 2003 14:09:48 +0000
Subject: RE: [PHP] Meaning of "Session object destruction failed" error?
Groups: php.general 
Request: Send a blank email to php-general+get-146127@lists.php.net to get a copy of this message
> -----Original Message----- > From: Johnson, Kirk > Sent: Thursday, May 01, 2003 3:43 PM > To: 'php-general@lists.php.net' > Subject: [PHP] Meaning of "Session object destruction failed" error? > > > Well, this question has been asked many times over the years in the > archives, but I didn't see any answer. Does anyone know the > cause of this > error: "Session object destruction failed"? Responding to my own post... FWIW, for future PHP'ers who are doing the right thing by searching the archives :-), I can now reproduce this error. I did a session_start(), then a slow loop with a sleep() in it, which gave me time to delete the new session file before calling session_destroy() at the end of the script. So, the likely real-life scenario is that a script gets caught waiting for an external process to complete and return, but that external process hangs, and the session file gets cleaned up before the script can resume. Kirk

« previous php.general (#146127) next »