Bug #15573: save_handler mm - doesn't create _SESSION[bar] at the first-time

From: Date: Fri, 15 Feb 2002 16:43:45 +0000
Subject: Bug #15573: save_handler mm - doesn't create _SESSION[bar] at the first-time
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-367@lists.php.net to get a copy of this message
From: 247net@gmx.net Operating system: debian woody (3.0) PHP version: 4.1.1 PHP Bug Type: Session related Bug description: save_handler mm - doesn't create _SESSION[bar] at the first-time Hi, if I use mm as save handler. I have to click twice at the first time to increment the counter. With files it works fine. cheers, Marcus. <?php ini_set('session.save_handler',mm); session_start(); if (!isset($_SESSION['count'])) { $_SESSION['count'] = 0; }else{ $_SESSION['count']++; } echo $_SESSION['count']; echo "<br><a href='$PHP_SELF'>click me</a>"; ?> -- Edit bug report at http://bugs.php.net/?id=15573&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15573&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15573&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15573&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15573&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15573&r=support Expected behavior: http://bugs.php.net/fix.php?id=15573&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15573&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15573&r=submittedtwice

« previous php.bugs (#367) next »