Re: PHP 4.0 Bug #5783 Updated: session_register always returns true

From: Date: Wed, 23 Aug 2000 13:59:05 +0000
Subject: Re: PHP 4.0 Bug #5783 Updated: session_register always returns true
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-30385@lists.php.net to get a copy of this message
AC>> 1. They correctly logged in but sessions are not working AC>> 2. They went to the web page directly, bypassing the login page By checking if sessions are working. Like trying to read session_id. AC>> AC>> Both of these errors are equivalent because session_register always AC>> returns true. session_register has nothing to do with it. Please read something about how sessions work in PHP. AC>> When does it give you a warning? session_register can return true even AC>> through your custom session handler returns false. When it fails, it gives a warning. -- Stanislav Malyshev stas@zend.com +972-3-6139665 ext.106

« previous php.dev (#30385) next »