Re: [PHP-DEV] PHP 4.0 Bug #5783 Updated: session_register always returns true From: Stanislav Malyshev (stas <email protected>)
Date: 08/23/00

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 <email protected>          
+972-3-6139665 ext.106

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>