From: [EMAIL PROTECTED]
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