ID: 20884 Comment by: hendrik dot schmieder at jedox dot com Reported By: nitro1710 at hotmail dot com Status: Bogus Bug Type: Session related Operating System: FreeBSD 4.5 PHP Version: 4.2.3 New Comment:
Sorry, session.gc_dividend must be session.gc_divisor. But this doesn't change the behaviour. If the lifetime of a session is over, the session datafile MUST be deleted, also when the Apache service is stopping, regardless if there's a new session starting or not. with best regards Hendrik Previous Comments: ------------------------------------------------------------------------ [2004-10-08 11:57:05] hendrik dot schmieder at jedox dot com Hello, we also have this problem. System is WIN2000 Apache 1.3.31 , php 4.3.9 as apache module. We have session.gc_probability = 100 session.gc_dividend = 100 session.gc_maxlifetime = 120 session.use_trans_sid = 1 in our php.ini. But even after 26 minutes the session file is not deleted. Even after stopping the Apache service, the session file is still there. I consider this as severe bug ! with best regards Hendrik Schmieder ------------------------------------------------------------------------ [2003-02-19 11:47:44] up dot the dot iron at libero dot it My PHP server has the same problem. PHP version is 4.2.3, apache Version is 2.0.42 on Linux 2.4.18-3sm Please tell me how to fix it. Thanks! ------------------------------------------------------------------------ [2003-01-22 04:22:56] sense at gdsyzx dot edu dot cn My PHP server has the same problem.PHP version is 4.3.0, apache Version is 2.0.43. Please tell me how to fix it. Thanks! ------------------------------------------------------------------------ [2002-12-08 02:40:44] [EMAIL PROTECTED] Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php ------------------------------------------------------------------------ [2002-12-08 01:27:59] nitro1710 at hotmail dot com Here's my conf: [Session] session.save_handler = files session.save_path = /tmp 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 I start session and even if the user close it's browser, the session file stay forever... It stay there and I have to delete them else I get an hundred of session file created.... I tested it on my 2 box (Freebsd4.5) and it does that too.... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20884&edit=1