Re: PHP Warning: session_destroy

From: Date: Sat, 20 Jan 2007 22:33:52 +0000
Subject: Re: PHP Warning: session_destroy
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-247468@lists.php.net to get a copy of this message
At 1/20/2007 02:14 PM, Andre Dubuc wrote:
However, checking the live version, I get an secure-error_log entry: "PHP Warning: session_destroy() [<a href='function.session-destroy'>function.session-destroy</a>]: Trying to destroy uninitialized session" Question is: didn't the session_start(); on the calling page take effect, or is this some other problem?
I've gotten the distinct impression from the documentation and from my own experiences that session_start() is required at the beginning of every page/script that references the session. See http://ca3.php.net/session_start including Examples 1 and 2. Paul

« previous php.general (#247468) next »