|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-01-26 12:14 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 22:00:02 2025 UTC |
Description: ------------ I set the folowing variables in the php.ini, as follows: session.gc_probability = 100 session.gc_maxlifetime = 60 My aim was that after 60 seconds the garbage collector deleted the session files, so that the session expired. This didn't happen. I am sure that the php.ini is read, but anyway I put the following lines at the start of every script: ini_set("session.gc_probability", "100"); ini_set("session.gc_maxlifetime", "60"); Not a chance, it doesn't work. Thanks in advance.