PHP 4.0 Bug #2228 Updated: Session environment not restored automatically at start of script as per docs
| From: | Bug Database | Date: | Fri, 03 Sep 1999 14:02:38 +0000 |
| Subject: | PHP 4.0 Bug #2228 Updated: Session environment not restored automatically at start of script as per docs | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-10503@lists.php.net to get a copy of this message | ||
ID: 2228
Updated by: andrey
Reported By: kmunn@munn.com
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:
This is happening because your auto_start is set to 1, which means that
the session mechanism is started automagically when you session_register()
any variable. Another way of doing it is to call session_start() manually.
Just put this in your auto_prepend file and forget about it.
Full Bug description available at: http://bugs.php.net/version4/?id=2228