Forum: Ruby on Rails session memcache expire

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E13ba8e702211be152c640df2d8e141f?d=identicon&s=25 Joe Black (joe-black)
on 2006-05-14 15:45
hi all
how to expire session in memcache session_store

regards
58479f76374a3ba3c69b9804163f39f4?d=identicon&s=25 Eric Hodel (Guest)
on 2006-05-15 20:38
(Received via mailing list)
On May 14, 2006, at 6:45 AM, Joe Black wrote:

> how to expire session in memcache session_store

a) Wait for it to fall out of the LRU all by itself
b) Delete the key manually (you'd have to track session expiry time
and key separately).

I recommend going with option a.

--
Eric Hodel - drbrain@segment7.net - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com
This topic is locked and can not be replied to.