ID: 16263 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: No Feedback Bug Type: Session related Operating System: ANY PHP Version: 4.3.0-dev New Comment:
Redhat 7.2 or 7.3. PhP 4.1.2, Apache 1.3.23. I get something similar to this when I change session.cookie_lifetime to something other than zero, and only when connecting with IE (my version 5.5). PHP generates two session files, one has all the info I initialized with, the second just has the sessionId in it. It's as if it ignores the first session it created and makes a new one. Netscape 4.79 works properly, and when I set session.cookie_lifetime to 0 the problem goes away on IE. Previous Comments: ------------------------------------------------------------------------ [2002-10-03 04:10:19] [EMAIL PROTECTED] i have apache version 1.3.26 and i have problem with session. When I submit my pages to external server, my session cant resume, and i dont know why. I have one week with this problem can somebody help me? ------------------------------------------------------------------------ [2002-09-09 01:00:04] [EMAIL PROTECTED] No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-08-07 03:09:43] [EMAIL PROTECTED] I think this problem is still in the latest code, but I don't remeber exact setting that reproduce this bug. Anyoune could post it? ------------------------------------------------------------------------ [2002-08-05 15:02:38] [EMAIL PROTECTED] Just to add reinforcement to the cause: Using redhat 7.2, latest apache 1.3 version, php 4.2.2, in two servers (one with register_globals OFF and one with ON). The same problem occurs with both servers... Major pain.... ------------------------------------------------------------------------ [2002-07-25 11:55:59] [EMAIL PROTECTED] I now have PHP 4.2.3 - dev. My OS is Windows 2000 Professional Server. I am still getting a new session file. To better explain the scenario: I use session name and start the session at the top of the page/code. Strangely enough, the session values I gave immediately after the session_start() (which I did only for testing purposes) are retained in the new session file too. But values that I assign to some other session variables (which I actually need) are not. session_name("name"); session_start(); $_SESSION["v1"]="Hello"; $_SESSION["v2"]="WORLD"; /* lot of code, user authentication */ $_SESSION["username"]="whatever"; $_SESSION["username"] is not retained in the next page. On echoing the session id on the next page - I get a new id. Passing the session id in the URL made no difference. Adding global $HTTP_SESSION_VARS; made no difference. When I refresh the second page, miraculously, I get back the first session and the values. Even stranger, I get the v1 and v2 values ("Hello World") in both sessions. Lot of heartache involved because of this bug. A problem with sessions causes a lot of time loss and a lot of heart-ache. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16263 -- Edit this bug report at http://bugs.php.net/?id=16263&edit=1