Re: [Catalyst] Deleting the expired session files?

2010-09-06 Thread Tomas Doran
On 4 Sep 2010, at 20:27, Darren Duncan wrote: Have you tried using the FastMMap store instead? I understand this can automatically expire sessions. The main caveat that I'm aware of is that it is unreliable in a multi-thread environment. -- Darren Duncan s/in a multi-thread environme

Re: [Catalyst] Deleting the expired session files?

2010-09-05 Thread Octavian Rasnita
From: "Peter Karman" > Octavian Rasnita wrote on 9/4/10 8:39 AM: >> Hello, >> >> I am trying to create a script that will be executed by a cron job which >> will delete all the expired session files, but without success. >> I use the Session::Store::File plugin. >> > > can't you just use the

Re: [Catalyst] Deleting the expired session files?

2010-09-05 Thread Bernhard Graf
Octavian Rasnita wrote: > I am trying to create a script that will be executed by a cron job > which will delete all the expired session files, but without > success. I use the Session::Store::File plugin. http://www.mail-archive.com/catalyst@lists.scsys.co.uk/msg08921.html HTH Bernhard __

Re: [Catalyst] Deleting the expired session files?

2010-09-04 Thread Peter Karman
Octavian Rasnita wrote on 9/4/10 8:39 AM: > Hello, > > I am trying to create a script that will be executed by a cron job which will > delete all the expired session files, but without success. > I use the Session::Store::File plugin. > can't you just use the mtime of the file to determine whet

Re: [Catalyst] Deleting the expired session files?

2010-09-04 Thread Darren Duncan
Octavian Rasnita wrote: I am trying to create a script that will be executed by a cron job which will delete all the expired session files, but without success. I use the Session::Store::File plugin. Have you tried using the FastMMap store instead? I understand this can automatically expire

[Catalyst] Deleting the expired session files?

2010-09-04 Thread Octavian Rasnita
Hello, I am trying to create a script that will be executed by a cron job which will delete all the expired session files, but without success. I use the Session::Store::File plugin. In the configuration file I have: 'Plugin::Session' => { expires => 20, #just for testing cookie_name => "CAT",