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

From: Date: Tue, 11 Jun 2002 16:20:53 +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-10130@lists.php.net to get a copy of this message
ID: 17704 Updated by: thiago@softexpert.com Reported By: thiago@softexpert.com Status: Open Bug Type: Session related Operating System: Windows 2000 PHP Version: 4.2.1 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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 (#10130) next »