Date: 08/31/01
- Next message: jeroen <email protected>: "[PHP-DEV] Bug #13073 Updated: empty() returns wrong value"
- Previous message: jeroen <email protected>: "[PHP-DEV] Bug #13070 Updated: chop/rtrim don't whack null bytes as advertised"
- In reply to: antoine <email protected>: "[PHP-DEV] Bug #13077: $HTTP_SESSION_VARS not set with first call to session_start()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 13077
Updated by: sniper
Reported By: antoine <email protected>
Old Status: Open
Status: Closed
Bug Type: Session related
Operating System: Linux 2.2.16-22smp
PHP Version: 4.0.6
New Comment:
in php.ini: register_globals=off
<?php
session_start();
$HTTP_SESSION_VARS['my_var'] = blah;
?>
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-08-31 06:31:03] antoine <email protected>
My script calls session_start(), registers a session vars with session_register().
After that, the var isn't set in $HTTP_SESSION_VARS.
If I do a session_write_close() immediatly followed by a session_start() after the registering, the var is set in $HTTP_SESSION_VARS.
My configure line :
'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--enable-trans-sid' '--enable-wddx' '--with-gettext' '--with-mysql=/usr/local/mysql'
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13077&edit=1
-- 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: jeroen <email protected>: "[PHP-DEV] Bug #13073 Updated: empty() returns wrong value"
- Previous message: jeroen <email protected>: "[PHP-DEV] Bug #13070 Updated: chop/rtrim don't whack null bytes as advertised"
- In reply to: antoine <email protected>: "[PHP-DEV] Bug #13077: $HTTP_SESSION_VARS not set with first call to session_start()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

