Re: PHP Warning: session_destroy

From: Date: Sat, 20 Jan 2007 22:55:47 +0000
Subject: Re: PHP Warning: session_destroy
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-247469@lists.php.net to get a copy of this message
On Saturday 20 January 2007 05:33 pm, Paul Novitski wrote: > 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 That would tend to make sense despite that the calling page has arleady initiated one. Worth a try . . Thanks, Andre

« previous php.general (#247469) next »