php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22515 SESSSION Behavior
Submitted: 2003-03-03 03:53 UTC Modified: 2003-03-03 06:07 UTC
From: cking at srpboard dot org Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.3.0 OS: WINDOWS/UNIX
Private report: No CVE-ID: None
 [2003-03-03 03:53 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-03 06:07 UTC] phanto@php.net
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 15 09:01:32 2024 UTC