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
 [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-2023 The PHP Group
All rights reserved.
Last updated: Sun Feb 05 16:05:48 2023 UTC