php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11521 session handling garbage collection
Submitted: 2001-06-17 12:25 UTC Modified: 2001-06-17 14:15 UTC
From: info at excelsior dot de Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.0.5 OS: Win2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: info at excelsior dot de
New email:
PHP Version: OS:

 

 [2001-06-17 12:25 UTC] info at excelsior dot de
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:\php\sessiondata c:\php\sessiondata 
session.serialize_handler
 php php 
session.use_cookies
 Off Off 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-17 14:15 UTC] sniper@php.net
; 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

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 03:01:27 2024 UTC