Re: session_start

From: Date: Mon, 24 Feb 2003 05:27:15 +0000
Subject: Re: session_start
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-136824@lists.php.net to get a copy of this message
Hello "Mr Percival" <mrpercival@cheerful.com> wrote: > Hi, > > According to the PHP manual session_start always returns true. > > Ther are times (like when there is a disk full error on the > server) that the sesison_start will fail because its unable to > write the session tmp file. > > So shouldnt session_start be able to return false if the file > write fails? > > Or does it return false but the manual doesnt say so? > -- I haven't had any "disk full error" experience so I'm not sure but I think what will happen is just php will crash (complain or return an error in other words because your script will stop) instead of returning "FALSE" which you can check later on... - E __________________________________________________ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/

« previous php.general (#136824) next »