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-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
cgi/session , deleting old sessions.
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password