ID:               16644
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Closed
 Bug Type:         Session related
 Operating System: Win98 SE
 PHP Version:      4.1.2
 New Comment:

(meant that it's fixed in 4.2.0 RC4)



Previous Comments:
------------------------------------------------------------------------

[2002-04-17 00:39:44] [EMAIL PROTECTED]

This bug has already been fixed in the latest released version of
PHP, which you can download at http://www.php.net/downloads.php

------------------------------------------------------------------------

[2002-04-16 17:01:50] [EMAIL PROTECTED]

I find this workaround for PHP 4.1.2 for PWS on WIN98 to avoid
problems

in Session management with register_globals = Off



Set in Php.ini file set session.auto_start = 0 



For each file.Php add at the begin (1,2 line apfter <?Php )



Session_Start();

$HTTP_SESSION_VARS[FreeVar]=FreeValue;



The Session_Start(); must be 'write' manually to avoid that PHP create
more than
1 file for Session (with session.auto_start create one file
each time I open PHP file)
and $HTTP_SESSION_VARS[FreeVar]=freevalue to
enable php to save $_SESSION[] value on file



I don't know why nut it work 


:) Vidde


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=16644&edit=1

Reply via email to