Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Some questions about CGI::Session

by jacaril (Beadle)
on Jun 01, 2011 at 15:09 UTC ( #907648=note: print w/ replies, xml ) Need Help??

in reply to Some questions about CGI::Session

I have had the same issue with CGI:Session under linux, the file build up over time can be extremely bad. There are no real methods to clean up temp files if the user does not log out, so you may need a system based solution. Check the find command something similar to "find /SessionPath/ -mtime +31 -exec rm {} \;" for clearing files not accessed in a month, if you do not all ready have something in place. Using find in this manner may handle the cases of directory structure and entered into crontab or another scheduler can net you more dev time.

The alternative DB stored sessions will work and may offer additional tracking at the expense of additional development time. making changes to the text files is simplier then adding/modifying table structures.

Comment on Re: Some questions about CGI::Session

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://907648]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2016-02-06 00:28 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (211 votes), past polls