cgi/session , deleting old sessions.

R

Robert Gleeson

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top