#22515 [Opn->Bgs]: SESSSION Behavior
| From: | phanto@php.net | Date: | Mon, 03 Mar 2003 12:07:47 +0000 |
| Subject: | #22515 [Opn->Bgs]: SESSSION Behavior | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-34663@lists.php.net to get a copy of this message | ||
ID: 22515
Updated by: phanto@php.net
Reported By: cking at srpboard dot org
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: WINDOWS/UNIX
PHP Version: 4.3.0
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
that's a bug database, not a support forum. ask your questions on
php-general@lists.php.net
Previous Comments:
------------------------------------------------------------------------
[2003-03-03 03:53:00] cking at srpboard dot org
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 this bug report at http://bugs.php.net/?id=22515&edit=1