Re: session dropping data

From: Date: Tue, 02 Jul 2002 09:00:03 +0000
Subject: Re: session dropping data
Groups: php.general 
Request: Send a blank email to php-general+get-104879@lists.php.net to get a copy of this message
>'lo, > >anybody ever experience this: > >1. i start a session w/ session_start() >2. register some vars w/ session_register() >3. click to next page, everything cool. all vars are there, and session id >is same >4. any other page, all session vars gone, but sessid is still the same. > >so session is persisting, but data is being emptied from it. You're doing session_start() on the third page?... You need to. Maybe even on the second, but I think not... So long as the ID makes it through, once you do session_start() all the vars spring back into life. Is that making sense? Warning: Haven't used PHP sessions enough to be 100% sure I'm telling the truth... -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#104879) next »