Re: [PHP4BETA] Re: yet another Session oddness/bug?

From: Date: Thu, 30 Mar 2000 00:26:48 +0000
Subject: Re: [PHP4BETA] Re: yet another Session oddness/bug?
References: 1 2 3 4 5  Groups: php.version4 
Request: Send a blank email to php-version4+get-12850@lists.php.net to get a copy of this message
> > 3) This one could be related to other problems, but > > I have seen cases where I get multiple lines of > > errors in the php error logs. > > [30-Mar-2000 03:52:54] PHP Warning: Failed to write session data. > > Please check that the current setting of session.save_path is correct > > (/tmp) in Unknown on line 0 > > [30-Mar-2000 03:52:54] PHP Warning: Failed to write session data. > > Please check that the current setting of session.save_path is correct > > (/tmp) in Unknown on line 0 > > [30-Mar-2000 03:52:55] PHP Warning: Failed to write session data. > > Please check that the current setting of session.save_path is correct > > (/tmp) in Unknown on line 0 > > [30-Mar-2000 03:52:55] PHP Warning: Failed to write session data. > > Please check that the current setting of session.save_path is correct > > (/tmp) in Unknown on line 0 > > I've just committed a few changes which should detail why these error > messages have been emitted. > > If you are running 4.0RC1, please apply the attached patch. > ok I updated my cvs tree and ran some tests, here is the new error messages in phperrors.log [29-Mar-2000 16:24:05] PHP Warning: Session gc: cleared 0 in /usr/www/site/htdocs/rc/php/test/test_session.php on line 2 [29-Mar-2000 16:24:06] PHP Warning: Session gc: cleared 0 in /usr/www/site/htdocs/rc/php/test/test_session.php on line 2 [29-Mar-2000 16:24:06] PHP Warning: Session gc: cleared 0 in /usr/www/site/htdocs/rc/php/test/test_session.php on line 2 [29-Mar-2000 16:24:06] PHP Warning: Session gc: cleared 0 in /usr/www/site/htdocs/rc/php/test/test_session.php on line 2 here is my script again <? session_start(); ?> <html> <? if (!isset($count)) { session_register("count"); $count = 1; echo "\nNEW SESSION\n"; } else $count++; ?> COUNT=<? echo $count; ?>;<br> </html>

« previous php.version4 (#12850) next »