|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-12-31 12:16 UTC] bignat at mail dot com
I tryed to limit cookieless session lifetime, but the session.gc_maxlifetime option does not work. I don't have the id's removed from the /tmp directory. The POST/GET style lifetime is not builtin? then this is feature request! Thanx! You are great, guys! I'm using a php 4.0.2 (apache module) on a linux OS. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Fri Jun 26 15:00:01 2026 UTC |
Maybe this would help: --------------------------------------------------- session.gc_probability = 1 ; percentual probability that the ; 'garbage collection' process is started ; on every session initialization --------------------------------------------------- This means that there is 1% probability that the session cleanup is even started. --------------------------------------------------- session.gc_maxlifetime = 1440 ; after this number of seconds, stored ; data will be seen as 'garbage' and ; cleaned up by the gc process --------------------------------------------------- And this means, that IF the cleanup is started, then _only_ sessions older than 1440 seconds are deleted. --Jani