2008
07/24
17:14

Rails plugin Limited Sessions updated

I updated my limited_sessions plugin to improve support for Rails 2.1. It should maintain backwards compatibility.

The change surrounds Rails 2.1’s new partial updates support. Basically, it’s turned off for sessions so the session is kept current and doesn’t expire if the user is active.

limited sessions

2007
09/20
01:52

new limited_sessions plugin for rails

it’s time to announce my second plugin for ruby on rails, limited_sessions.

it’s been publicly available for several days, so i guess it’s time that i actually talk about it.

this came out of a need to manage sessions more intelligently than rails does by default. all of these is built as an extension to ActiveRecordStore, so sessions must be stored in the db. features:

  • configurable, server-enforced session expiry time (eg: 2 hours from last access)
  • optional hard limit on session from login time, regardless of access (eg: 8 hours from login)
  • ability to tie session to user’s IP or /24 subnet
  • auto-cleaning of expired sessions from db without an external script or other helper

as usual, details are on the project page.

Page: 1