[pmwiki-users] short sessions

Patrick R. Michaud pmichaud at pobox.com
Tue Mar 8 20:38:31 CST 2005


On Wed, Mar 09, 2005 at 02:17:58PM +1300, Robin wrote:
> On Wednesday 09 March 2005 14:19, Patrick R. Michaud wrote:
> > points to a unique location for your sessions.  However, I'm not
> > exactly sure how that affects the cleaning up of session files -- I'm
> > still looking into that.  (I know of at least one instance where
> > setting a custom session.save_path is causing the session files to
> > not be removed.)
> In Debian is is done by a cronjob:
> [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f
>  -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm
> (all one line)

Weird.  PHP normally takes care of it directly.

> Perhaps something like that could be put into the config.php if the 
> session dir was changed.

Yeah, we could probably do that.  

Pm



More information about the pmwiki-users mailing list