search for: session_cleanup

Displaying 4 results from an estimated 4 matches for "session_cleanup".

2006 Aug 22
7
Cleanup at session expiration
I''m going to explicitly time out sessions if they''re idle more than X minutes. Like online banking sites do. How do I set things up so that, when a session expires, a set of database records and a set of files that may have been created (which are identified via a seperate set of database records) are deleted just before the session data? TIA, Bill
2006 Jul 07
1
Cronjob / .rb help clearing session table (new to cronjobs)
I just launched my first ROR app and i need to implement the session database cleanup. I am new to cronjobs. I have used one once but it was all copy/paste. I was hoping someone knew of a good tutorial or resource to get started here or might be able to give me a little help. I have seen a lot of posts that reference setting a cron job to clear old sessions but I am not clear on: Can you
2006 Jun 22
0
SessionCleanup (clean up sessions within Rails app)
...s not for you! TODO! SessionCleanup presently only handles sessions stored in the file system (CGI::Session::PStore) or in the database (CGI::Session::ActiveRecordStore). I would welcome contributed code for the other possible cases! You can get SessionCleanup here: http://www.alevans.com/dl/session_cleanup-0.3.0.tgz I wrote SessionCleanup to help with a case where I have work files associated with sessions, and because I didn''t want to have to use a cron job to maintain my Rails apps. Maybe it''ll be useful to someone else:-) Please email me with any problems, suggestions, or im...
2006 Aug 16
5
too many SESSIONS?
I just notices my app was down, and in the log file were lots of these: No space left on device - ../config/../tmp/sessions//ruby_sess.898b1cf95e14f8e3 So i figured that i had too many sessions. I went through and deleted the sessions and then in a few minutes, the site was back up again. Can anyone explain this? Did I do the right thing? Is there a way I can tell my app to accept more