PHP 4.0 Bug #2228: Session environment not restored automatically at start of script as per docs
| From: | kmunn at munn dot com | Date: | Fri, 03 Sep 1999 04:50:27 +0000 |
| Subject: | PHP 4.0 Bug #2228: Session environment not restored automatically at start of script as per docs | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-10492@lists.php.net to get a copy of this message | ||
From: kmunn@munn.com
Operating system: Red Hat Linux 6.0 on Intel
PHP version: 4.0 Beta 2
PHP Bug Type: Misbehaving function
Bug description: Session environment not restored automatically at start of script as per docs
My configuration file says...
session.save_handler = files
session.save_path = /tmp
session.name = PHPSESSID
session.auto_start = 1
session.lifetime = 0
session.serialize_handler = php
session.gc_probability = 1
session.gc_maxlifetime = 1440
But when I register a session variable and set the value, the session variables are not
automatically
set at the beginning of the next page I hit. However, if I add a call to session_register with
*one* of the
variable names, *all* the session variables are set in the environment. Workaround is to put one of
those
session_register calls in every page (yuck) which is what I'm doing in the meantime.