[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

cgi/session , deleting old sessions.

Robert Gleeson

9/14/2008 11:52:00 PM

Hi,

I am wondering how I would go about deleting files created by
CGI::Session, there is a huge build up of files in /tmp(everytime a new
session is initiated a new one is created) and I can't think of anyway
(beside a crontab) of deleting them, or I could use the .delete method
supplied by cgi/session but this way i need to count on the user logging
out so i can call .delete, not very efficient either.
I looked into using MemoryStore but the eruby instance doesn't last long
enough.

Any help is greatly appreciated,
rob
--
Posted via http://www.ruby-....