Re: Sessions: strange behaviour in 4.3.3 ?

From: Date: Fri, 16 Jan 2004 19:47:48 +0000
Subject: Re: Sessions: strange behaviour in 4.3.3 ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-174869@lists.php.net to get a copy of this message
--- Dino Tsoumakis <dimaki@gmx.de> wrote: > If you hve a close look at the code > http://www.serv-int.de/class.session.txt you will find the > session_start() in the constructor of the class prior to any output. This is apparently not the case, else this error message would not appear. > The thing is, that session_start() calls the user defined session > functions (defined in session_set_save_handler()) and that's what > breaks the whole thing. Keep in mind that an error message can count as output (if it's not logged instead). Chris ===== Chris Shiflett - http://shiflett.org/ PHP Security Handbook Coming mid-2004 HTTP Developer's Handbook http://httphandbook.org/

« previous php.general (#174869) next »