Bug #17704 Updated: When the cookie on the client expires, the sessiongets messy

From: Date: Tue, 11 Jun 2002 22:19:36 +0000
Subject: Bug #17704 Updated: When the cookie on the client expires, the sessiongets messy
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10170@lists.php.net to get a copy of this message
ID: 17704 Updated by: sniper@php.net Reported By: thiago@softexpert.com -Status: Open +Status: Bogus Bug Type: Session related Operating System: Windows 2000 PHP Version: 4.2.1 New Comment: Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2002-06-11 12:20:53] thiago@softexpert.com Let me explain it better: I think the session_start() is not checking if the session is expired or not (or this checking is broken), so its creating more than one session_id. One with the expired ID and another with the new ID. A third ID is appearing too, but i dont know why. Im using session_name() before calling session_start() on all parts of the code. ------------------------------------------------------------------------ [2002-06-11 12:11:47] thiago@softexpert.com Try this steps: 1 - Clear the session_save_path dir. 2 - Create a session with expires=0 3 - Destroy this session 4 - Close the browser (I.E) 5 - Open the browser and access the same page where the session was created 6 - Look at the session_save_path dir. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17704&edit=1

« previous php.bugs (#10170) next »