[PHP-DEV] Bug #11521 Updated: session handling garbage collection From: sniper <email protected>
Date: 06/17/01

ID: 11521
Updated by: sniper
Reported By: info <email protected>
Old-Status: Open
Status: Bogus
Bug Type: Scripting Engine problem
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:

; Percentual probability that the 'garbage collection' process is started
; on every session initialization.
session.gc_probability = 1

; After this number of seconds, stored data will be seen as 'garbage' and
; cleaned up by the garbage collection process.
session.gc_maxlifetime = 1440

Not a bug.

--Jani

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

[2001-06-17 12:25:27] info <email protected>
Is this a bug? It seems that the garbage collection routine doesn't start automatically (waited 1 day). It works fine if I call the my_session_gc($maxtime) at the start of each session.

php.ini:
session.auto_start
 Off Off
session.cache_expire
 180 180
session.cache_limiter
 nocache nocache
session.cookie_domain
 no value no value
session.cookie_lifetime
 0 0
session.cookie_path
 / /
session.cookie_secure
 Off Off
session.entropy_file
 no value no value
session.entropy_length
 0 0
session.gc_maxlifetime
 60 60
session.gc_probability
 1 1
session.name
 PHPSESSID PHPSESSID
session.referer_check
 no value no value
session.save_handler
 user user
session.save_path
 c:phpsessiondata c:phpsessiondata
session.serialize_handler
 php php
session.use_cookies
 Off Off

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

ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11521&edit=2

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>