Re: PHP 4.0 Bug #5783 Updated: session_register always returns true
| From: | Albert Chin-A-Young | Date: | Wed, 23 Aug 2000 13:45:24 +0000 |
| Subject: | Re: PHP 4.0 Bug #5783 Updated: session_register always returns true | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-30372@lists.php.net to get a copy of this message | ||
On Wed, Aug 23, 2000 at 04:40:02PM +0300, Stanislav Malyshev wrote:
> AC>> successfully registered" mean? Can a variable be registered but the
> AC>> session handling routine not write it to whatever the backend-storage
> AC>> mechanism is? This seems wrong to me (because then when the user goes
>
> Definitely can. Registering variable is no more than entering it into the
> list of "to be saved" variables. There's no way to ensure it will be
> actually saved, because saving happens way later.
Do you see this as a problem? This makes it impossible to detect at
runtime whether or not your saved variables will be available later.
It seems wrong to find out later that a variable you know you tried to
save earlier is not available. Seems to make more sense to catch the
problem as early as possible.
--
albert chin (china@thewrittenword.com)