Req #11100 [Opn]: session_garbage_collector function
| From: | yohgaki@php.net | Date: | Sat, 31 Mar 2012 04:32:41 +0000 |
| Subject: | Req #11100 [Opn]: session_garbage_collector function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-169062@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=11100&edit=1
ID: 11100
Updated by: yohgaki@php.net
Reported by: ryan at post891 dot org
Summary: session_garbage_collector function
Status: Open
Type: Feature/Change Request
Package: Session related
Operating System: *
PHP Version: *
-Assigned To:
+Assigned To: yohgaki
Block user comment: N
Private report: N
New Comment:
session_start_gc() sounds good, but session should not be started or closed
before calling it.
Previous Comments:
------------------------------------------------------------------------
[2010-12-17 12:40:12] jani@php.net
Reclassified. Note: You can always write your own session handler of which GC function you can call
anywhere.. :)
------------------------------------------------------------------------
[2001-05-24 18:29:07] ryan at post891 dot org
i'd like to be able to call the php session garbage collection function from within a PHP
script.... right now the only way to run it is to do a session_start and hope that the
gc_probablility is high enough that it will run. it would be good to have a function that does it
nomatter what the gc_probablity is!
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=11100&edit=1