Re: PHP 4.0 Bug #4573: Problem when saving session

From: Date: Wed, 05 Jul 2000 17:12:46 +0000
Subject: Re: PHP 4.0 Bug #4573: Problem when saving session
Groups: php.dev 
Request: Send a blank email to php-dev+get-23615@lists.php.net to get a copy of this message
Warning: Failed to write session data. Please check that the current setting of session.save_path is correct (/tmp/session_mm.sem) in Unknown on line 0 I can confirm that PHP 4.0.1pl2 still has this bug. If you call session_start() on any page where there is 0 registered variables then you get the above warning. Page 1 ###### <?php session_start(); session_register('test'); ?> Page 2 ###### <?php session_start(); session_unregister('test'); ?> Page 2 results in the warning being logged. This does not affect sessions via mm, but not files. PHP configured with mm support (--with-mm) and session.save_handler = mm ; set in php.ini -- Jeremiah Bellomy ----------------- List: php-dev Subject: Re: [PHP-DEV] PHP 4.0 Bug #4573: Problem when saving session From: Sascha Schumann <sascha@schumann.cx> Date: 2000-05-24 12:10:56 [Download message RAW] On Wed, 24 May 2000, Valdas Andrulis wrote: > > On Wed, 24 May 2000, Sascha Schumann wrote: > > > Did you configure PHP with mm support (--with-mm) ? > > Of course. Everything works ok as soon as i register at least one > variable, and produces the same "Warning: ..." as soon as i unregister > all the variables. But I am using script which handles user login so it > registers user_id variable only when correct password is submited, > and that "Warning: ..." is clobbering my login screen. session.save_path needs to be a path to a file for mm. Like /tmp/session.sem - Sascha

« previous php.dev (#23615) next »