|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-03-06 02:54 UTC] yohgaki@php.net
[2002-09-29 13:39 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 30 14:00:01 2025 UTC |
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>"; ?>