Re: [PHP-DEV] PHP 4.0 Bug #5783 Updated: session_register always returns true From: Albert Chin-A-Young (china <email protected>)
Date: 08/23/00

On Wed, Aug 23, 2000 at 12:25:13PM -0000, Bug Database wrote:
> ID: 5783
> Updated by: sniper
> Reported By: china <email protected>
> Status: Closed
> Bug Type: Session related
> Assigned To:
> Comments:
>
> Yes, this is documented. session_start() returns always true.
> session_register() returns true only when the variable is
> successfully registered with the session.
>
> --Jani

Did you look at the sample code I submitted? If you use it,
session_register will *always* return true. So, what does
"session_register() returnes true only when the variable is
successfully registered" mean? Can a variable be registered but the
session handling routine not write it to whatever the backend-storage
mechanism is? This seems wrong to me (because then when the user goes
to another web page, the variable will *not* be available).

-- 
albert chin (china <email protected>)

-- 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>