Hi, I'm new member of this group.
I had added new virtual host at my intranet server. The new virtual
host configuration on httpd.conf is similar with the old one.
At the new virtual host, the session id seems changed every
interaction to server (new page or reload).
The old one is fine, the session id keeps at the same string.
Both are at the same server.
I use Apache 2.2.3 (Win32) with PHP 5.2.0.
Tested using code below:
session_start() ;
echo session_id();
PHP Configuration :
session.save_ha ndler = files
;session.save_p ath = "/tmp"
session.use_coo kies = 1
;session.use_on ly_cookies = 1
session.name = PHPSESSID
session.auto_st art = 0
session.cookie_ lifetime = 0
session.cookie_ path = /
session.cookie_ domain =
session.seriali ze_handler = php
session.gc_prob ability = 1
session.gc_divi sor = 1000
session.gc_maxl ifetime = 1440
session.bug_com pat_42 = 0
session.bug_com pat_warn = 1
session.referer _check =
session.entropy _length = 0
session.entropy _file =
;session.entrop y_length = 16
;session.entrop y_file = /dev/urandom
session.cache_l imiter = nocache
session.cache_e xpire = 180
session.use_tra ns_sid = 0
session.hash_fu nction = 0
session.hash_bi ts_per_characte r = 5
How to fix the new host to keep its session id unchanged?
Sorry for the bad english.
TIA
I had added new virtual host at my intranet server. The new virtual
host configuration on httpd.conf is similar with the old one.
At the new virtual host, the session id seems changed every
interaction to server (new page or reload).
The old one is fine, the session id keeps at the same string.
Both are at the same server.
I use Apache 2.2.3 (Win32) with PHP 5.2.0.
Tested using code below:
session_start() ;
echo session_id();
PHP Configuration :
session.save_ha ndler = files
;session.save_p ath = "/tmp"
session.use_coo kies = 1
;session.use_on ly_cookies = 1
session.name = PHPSESSID
session.auto_st art = 0
session.cookie_ lifetime = 0
session.cookie_ path = /
session.cookie_ domain =
session.seriali ze_handler = php
session.gc_prob ability = 1
session.gc_divi sor = 1000
session.gc_maxl ifetime = 1440
session.bug_com pat_42 = 0
session.bug_com pat_warn = 1
session.referer _check =
session.entropy _length = 0
session.entropy _file =
;session.entrop y_length = 16
;session.entrop y_file = /dev/urandom
session.cache_l imiter = nocache
session.cache_e xpire = 180
session.use_tra ns_sid = 0
session.hash_fu nction = 0
session.hash_bi ts_per_characte r = 5
How to fix the new host to keep its session id unchanged?
Sorry for the bad english.
TIA
Comment