Re: Session logic question

From: Date: Fri, 02 Jan 2004 21:12:48 +0000
Subject: Re: Session logic question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-173649@lists.php.net to get a copy of this message
--- Al <news@ridersite.org> wrote: > Everything works fine, except when I include another script file that > also uses the $_SESSION buffer. > > What appears to be happening is that start_session() on the second > script reinitializes the session buffer and I lose the data from the > first session. Yes, as it should. You need to only start the session once. Hope that helps. Chris ===== Chris Shiflett - http://shiflett.org/ PHP Security Handbook Coming mid-2004 HTTP Developer's Handbook http://httphandbook.org/

« previous php.general (#173649) next »