Req #11100 [Asn->Csd]: session_gc() function

From: Date: Sat, 10 Aug 2013 06:22:08 +0000
Subject: Req #11100 [Asn->Csd]: session_gc() function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-180838@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_gc() function -Status: Assigned +Status: Closed Type: Feature/Change Request Package: Session related Operating System: * PHP Version: * Assigned To: yohgaki Block user comment: N Private report: N New Comment: It will be available in 5.6 or later. Previous Comments: ------------------------------------------------------------------------ [2012-03-31 04:32:41] yohgaki@php.net session_start_gc() sounds good, but session should not be started or closed before calling it. ------------------------------------------------------------------------ [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

« previous php.bugs (#180838) next »