PHP 4.0 Bug #2228 Updated: Session environment not restored automatically at start of script as per docs

From: Date: Fri, 03 Sep 1999 14:23:11 +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-10506@lists.php.net to get a copy of this message
ID: 2228 User Update by: kmunn@munn.com Status: Closed Bug Type: Misbehaving function Description: Session environment not restored automatically at start of script as per docs The documentation reads... session.auto_start specifies whether the session module start a session automatically on request startup. What you're explaining doesn't sound automatic to me, it sounds like I have to call a function on every page to get the session environment (either register or start). If auto_start = 0 in my config, I have to call session_start to begin a session and then session_start on every page to get the environment? So basically the only thing auto_start buys me is one less command to "start" the session? Much more useful would be if, with auto_start = 1, the session variables were set on entry to the page. With auto_start = 0, it could require a call to the session functions to initialize. - Kristofer Full Bug description available at: http://bugs.php.net/version4/?id=2228

« previous php.dev (#10506) next »