Debian does not use the default garbage collector for sessions. Instead, it sets session.gc_probability to zero and it runs a cron job to clean up old session data in the default directory.
As a result, if your site sets a custom location with session_save_path() you also need to set a value for session.gc_probability, e.g.:
<?php
session_save_path('/home/example.com/sessions');
ini_set('session.gc_probability', 1);
?>
Otherwise, old files in '/home/example.com/sessions' will never get removed!
----
Server IP: 80.64.47.13
Probable Submitter: 80.37.14.51
----
Manual Page -- http://www.php.net/manual/en/function.session-save-path.php
Edit -- https://master.php.net/note/edit/98106
Del: integrated -- https://master.php.net/note/delete/98106/integrated
Del: useless -- https://master.php.net/note/delete/98106/useless
Del: bad code -- https://master.php.net/note/delete/98106/bad+code
Del: spam -- https://master.php.net/note/delete/98106/spam
Del: non-english -- https://master.php.net/note/delete/98106/non-english
Del: in docs -- https://master.php.net/note/delete/98106/in+docs
Del: other reasons-- https://master.php.net/note/delete/98106
Reject -- https://master.php.net/note/reject/98106
Search -- https://master.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.