Edit report at https://bugs.php.net/bug.php?id=11100&edit=1
ID: 11100 Updated by: yohg...@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] yohg...@php.net session_start_gc() sounds good, but session should not be started or closed before calling it. ------------------------------------------------------------------------ [2010-12-17 12:40:12] j...@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