Date: 08/23/00
- Next message: erik <email protected>: "[PHP-DEV] PHP 4.0 Bug #6311: MySQL: Unable to save result set after "INSERT" queries."
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5483 Updated: swf_openfile("php://stdout"...) causes segfaults"
- In reply to: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5783 Updated: session_register always returns true"
- Next in thread: Stanislav Malyshev: "Re: [PHP-DEV] PHP 4.0 Bug #5783 Updated: session_register always returns true"
- Reply: Stanislav Malyshev: "Re: [PHP-DEV] PHP 4.0 Bug #5783 Updated: session_register always returns true"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: erik <email protected>: "[PHP-DEV] PHP 4.0 Bug #6311: MySQL: Unable to save result set after "INSERT" queries."
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5483 Updated: swf_openfile("php://stdout"...) causes segfaults"
- In reply to: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5783 Updated: session_register always returns true"
- Next in thread: Stanislav Malyshev: "Re: [PHP-DEV] PHP 4.0 Bug #5783 Updated: session_register always returns true"
- Reply: Stanislav Malyshev: "Re: [PHP-DEV] PHP 4.0 Bug #5783 Updated: session_register always returns true"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

