Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2003022

Re: [PHP] session_start From: - Edwin (copperwa11s <email protected>)
Date: 02/24/03

Hello

"Mr Percival" <mrpercival <email protected>> 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/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php