From: cking at srpboard dot org Operating system: WINDOWS/UNIX PHP version: 4.3.0 PHP Bug Type: Session related Bug description: SESSSION Behavior
There is a function called session_set_cookie_params? Does this function modify the default session behavior set in php.ini? I tried. Seems it does not work at all. In forum PHPBB seems they are doing their SESSION via cookie. Why i am concerned with this is that i want to control the session time instead of default value. Another thing about session it that even on PHP v4.1.0 or higher. The way recommended in PHP Manual does not always work. +++++++++++++++++++++++++ <?php session_start(); // Use $HTTP_SESSION_VARS with PHP 4.0.6 or less if (!isset($_SESSION['count'])) { $_SESSION['count'] = 0; } else { $_SESSION['count']++; } ?> +++++++++++++++++++++++++ seems sometimes have to use session_register() to register a session. -- Edit bug report at http://bugs.php.net/?id=22515&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22515&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22515&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22515&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22515&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22515&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22515&r=support Expected behavior: http://bugs.php.net/fix.php?id=22515&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22515&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22515&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22515&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22515&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22515&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22515&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22515&r=gnused