Bug #17634 Updated: Creating new Session IDs

From: Date: Wed, 12 Jun 2002 01:42:49 +0000
Subject: Bug #17634 Updated: Creating new Session IDs
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10198@lists.php.net to get a copy of this message
ID: 17634 Updated by: thiago@softexpert.com Reported By: tlewis@communitysoft.net Status: Bogus Bug Type: Session related Operating System: Windows NT PHP Version: 4.2.1 New Comment: Sorry, but he didnt asked anything. This is actually happening to me too. PHP is creating more than one ID on session_start(). It happens when i have an old expired session cookie. If i clear the cookies it works fine. But its still a bug because i cant clear every expired cookie. Previous Comments: ------------------------------------------------------------------------ [2002-06-06 18:41:23] sniper@php.net Sorry, but the bug system is not the appropriate forum for asking support questions. Your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php Thank you for your interest in PHP. ------------------------------------------------------------------------ [2002-06-06 18:32:46] tlewis@communitysoft.net New sessions are created instead of using current session. Everytime a session_start() is encountered, PHP creates a new session ID thus losing the value(s) from the preferred session. To reproduce: call the session_start() function, register a variable with session_register('foo'), try and access the variable on a succession page using session_start(), go into where ever directory you are storing your session files. There will be multiple files listed. One having data, the other(s) being empty. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17634&edit=1

« previous php.bugs (#10198) next »