SESSION TROUBLE...
| From: | Chris | Date: | Fri, 04 Oct 2002 15:03:19 +0000 |
| Subject: | SESSION TROUBLE... | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-16167@lists.php.net to get a copy of this message | ||
Hi everyone,
i have a tricky situation here...
I'm working on a project that requires session for logins.
The problem is PHP DOES NOT generate a new session id, even if the
appropriate functions are used. I have a little login test site that worked
absolutely perfect, with sessions generated at EVERY login. At logout, the
session is destroyed and DELETED from HDD. When i login again PHP generates
THE SAME session string. How come PHP does this all of the sudden, when I
did not make modifications to my php.ini ?
Does anyone know how come this happens ?
PLEASE send me some help. I really appreciate it !
Thank you so much !
I use PHP 4.2.2 under Apache 1.3.22 as module, on XP Proffesional.
My config in php.ini :
[Session]
session.save_handler = files
session.save_path = /php/sessions
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.gc_probability = 1
session.gc_maxlifetime = 1440
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
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"