Sessions: strange behaviour in 4.3.3 ?

From: Date: Fri, 16 Jan 2004 10:14:46 +0000
Subject: Sessions: strange behaviour in 4.3.3 ?
Groups: php.general 
Request: Send a blank email to php-general+get-174770@lists.php.net to get a copy of this message
Hi, I found a strange behavior in session handling functions after an update to PHP 4.3.3. I wrote a simple test class, which can be viewed here: http://www.serv-int.de/class.session.txt In PHP 4.2.2 the output was something like that: ____________________________ open: 25f0ed87454ba65d5ee94b52c659bbe8 read: 25f0ed87454ba65d5ee94b52c659bbe8 const: 25f0ed87454ba65d5ee94b52c659bbe8 ____________________________ The open function has the session id! In PHP 4.3.3 the output is: ____________________________ open: read: 15de9d9cb1a7ab97651db794e1b7b88c Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at XXXXXX/class.session.php:61) in XXXXXX/class.session.php on line 38 const: 15de9d9cb1a7ab97651db794e1b7b88c ____________________________ The warning is ok, but why is the session id not availiable in the open function??? Can anyone give me an advice? I checked the changelog allready, but didn't really found anything that would explain this behaviour. Thanks.

« previous php.general (#174770) next »