Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #3571 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

[PATCH] expiration option for memcached sessions

Reported by: skaes Assigned to: David
Priority: normal Milestone: 1.1
Component: ActionPack Version: 1.0.0
Severity: normal Keywords: sessions expiration
Cc:

Description

This patch adds the possibility to specify atomatic expiration for the memcachd session container. Example:

ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS.update(
       :database_manager => CGI::Session::MemCacheStore,
       :cache => CACHE, :expires => 3600 * 12)

specifies expiry after 1 day of inactivity.

Attachments

automatic_expiry_for_memcached_sessions.patch (3.0 kB) - added by skaes on 01/22/06 13:46:28.

Change History

01/22/06 13:46:28 changed by skaes

  • attachment automatic_expiry_for_memcached_sessions.patch added.

01/22/06 13:47:47 changed by skaes

  • summary changed from [PATCH] expiry option form memcached sessions to [PATCH] expiration option form memcached sessions.

01/22/06 13:48:07 changed by skaes

  • summary changed from [PATCH] expiration option form memcached sessions to [PATCH] expiration option for memcached sessions.

01/22/06 22:21:27 changed by david

  • status changed from new to closed.
  • resolution set to fixed.

(In [3465]) Added the possibility to specify atomatic expiration for the memcachd session container (closes #3571) [Stefan Kaes]