#17634 [Bgs->Fbk]: Creating new Session IDs

From: Date: Wed, 07 Aug 2002 12:28:06 +0000
Subject: #17634 [Bgs->Fbk]: Creating new Session IDs
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16154@lists.php.net to get a copy of this message
ID: 17634 Updated by: yohgaki@php.net Reported By: tlewis@communitysoft.net -Status: Bogus +Status: Feedback Bug Type: Session related Operating System: Windows NT PHP Version: 4.2.1 New Comment: I've seen this, but I don't remember exact configuration/code that reproduce this. (It's long time ago) Are you using session auto start, call session_start() multiple times, or call session_destory()? Use php.ini-recommended and try to reproduce this. Let us know the shortest code that reproduce and what you've changed the php.ini. Previous Comments: ------------------------------------------------------------------------ [2002-08-05 15:00:11] zen_kermit@expn.com You PHP developers cant really be that think headed can you??? I've loevd this language for a long time, but this kind of blatant failure is huge!! and to refuse to acknowledge it is taking you more step towards developing ASP. Come on and restore our faith. ------------------------------------------------------------------------ [2002-06-11 21:42:48] thiago@softexpert.com 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. ------------------------------------------------------------------------ [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 (#16154) next »