search for: sessioncleanup

Displaying 3 results from an estimated 3 matches for "sessioncleanup".

2006 Jun 22
0
SessionCleanup (clean up sessions within Rails app)
SessionCleanup is a routine to clear out stale sessions from within a Rails application. A Rails application creates a new session for every connection. Over time, this leads to the accumulation of hundreds or thousands of stale session files or session records (if you''re using a database). These se...
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
4
Can I peek at all "active sessions"?
My users need to login to run the app I''m building. I''d like to give them an "Other users currently active:" piece of information. I could track it myself in the database based on login/logout, but that doesn''t really count for people just leaving the computer logged in and never coming back. Does Rails have an API for me to monitor sessions and take a