php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23499 Existing session are not loaded
Submitted: 2003-05-05 18:52 UTC Modified: 2003-05-24 10:33 UTC
From: paj at pearfr dot org Assigned:
Status: Closed Package: Session related
PHP Version: 4CVS-2003-05-05 (stable) OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: paj at pearfr dot org
New email:
PHP Version: OS:

 

 [2003-05-05 18:52 UTC] paj at pearfr dot org
Hello,

Using Windows XP, latest snapshots and latest apache 1.3, php used as module.

php always starts a new session, the cookies has been sent correctly with the correct sid.

Using the same php version/apache/php.ini, the same script works perfectly.

(I use the simple counter example from the php manual)

pierre


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-05 18:57 UTC] paj at pearfr dot org
Using the same php version/apache/php.ini, the same script works perfectly on windows 2000.

pierre
 [2003-05-20 18:08 UTC] wez@php.net
This script works fine for using current stable (gold!) and apache 1.3.27 under winxp.

<?php
session_start();
// Use $HTTP_SESSION_VARS with PHP 4.0.6 or less
if (!isset($_SESSION['count'])) {
    $_SESSION['count'] = 0;
} else {
    $_SESSION['count']++;
}
var_dump($_SESSION['count']);
?>
 [2003-05-24 10:33 UTC] pajoye@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

Well, it works now with latest snapshot (May 24, 2003 12:30 GMT), weird but that makes me happy ;).

pierre
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 05:01:28 2024 UTC