From:             [EMAIL PROTECTED]
Operating system: HP-UX 11.00
PHP version:      4.0.4pl1
PHP Bug Type:     *Session related
Bug description:  PHPSESSID adds itself to $HTTP_POST_VARS

Problem:

For some reason PHP adds PHPSESSID to $HTTP_POST_VARS

At login, I use:
session_start():
$sid = session_id();
session_register("sid");
etc.....

2 pages into the session the var PHPSESSID
appears as the first element in the post array.

My app has been been behaving until I started playing with
gc_probability in php.ini.

My identical dev website with identical code does not
reproduce this problem.

Config INFO:

Compile Directives:
'./configure' '--prefix=/../../php_prod' '--with-config_file_path=/../../php_prod/lib' 
'--with-oci8' '--with-apache=/../../apache_prod' '--enable-track-vars' 
'--enable-trans-sid' '--enable-ftp'


php.ini session config:

[Session]
session.save_handler = files ;
session.save_path=/usr/local/session    ;                   session.use_cookies       
= 0       ; session.name              = PHPSESSID  ;
session.auto_start        = 0       ; session.cookie_lifetime=0   ;                    
           session.cookie_path =  /
session.serialize_handler = php     ; session.gc_probability    = 1     ; 
session.gc_maxlifetime    = 1800    ; session.referer_check     =         ; 
session.entropy_length    = 0       ; session.entropy_file      =         ;  
session.entropy_length    = 16
; session.entropy_file      = /dev/urandom
session.cache_limiter= nocache ;                                     ; 
session.cache_expire      = 180     ; session.use_trans_sid     = 1       ; 

[EOF]


-- 
Edit Bug report at: http://bugs.php.net/?id=9390&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to