memcached never expired in rails?

Posted by pickerel on Stack Overflow See other posts from Stack Overflow or by pickerel
Published on 2010-03-21T09:45:08Z Indexed on 2010/03/21 9:51 UTC
Read the original article Hit count: 340

Filed under:
|
|

It's very strange that the session will never expire if i use memcached store even i set
config.action_controller.session :session_expires => 1.seconds.from_now

And I use extended_fragment_cache to cache fragment, I meet the same problem

<% Cache "my_page", {:expires => 1.minutes} do ... %>

never expired!

Anyone know where's the problem?

© Stack Overflow or respective owner

Related posts about rails

Related posts about memcached