PHP 4.0 Bug #3329: auto_start sessions-> new sessionid each request

From: Date: Thu, 27 Jan 2000 15:26:52 +0000
Subject: PHP 4.0 Bug #3329: auto_start sessions-> new sessionid each request
Groups: php.dev 
Request: Send a blank email to php-dev+get-14952@lists.php.net to get a copy of this message
From: alan@sanguis.com.au Operating system: RH 6.0 +Apache1.3.9-DSO PHP version: 4.0 Latest CVS (27/01/2000) PHP Bug Type: Other Bug description: auto_start sessions-> new sessionid each request When session.auto_start is set a new session id is generated for each request. I have had a look at what is going on in the session code with gdb and it appears that when php_rinit_session() calls _php_session_start() the calls to zend_hash_find(&EG(symbol_table), HTTP_???_VARS, sizeof(HTTP_???_VARS)) are failling. (lines 700 and 709 of session.c) Is request init to early to be looking here for the HTTP_??_VARS ? Is this the right symbol table in this context ?

« previous php.dev (#14952) next »