This project is archived and is in readonly mode.
Changeset [21c99e93883c1cf32474ad65a507e69e373a380c] by José Valim
Revision 21c99e93883c1cf32474ad65a507e69e373a380c,
committed by José Valim
· June 25th, 2010 @ 11:15 AM
Calling exists? in the session store, without checking for stale
sessions, was causing the cookie store to panic because we need to
unpack the whole session to get its key. This commit fixes this
issue and also caches exists calls for performance
improvements.
http://github.com/rails/rails/commit/21c99e93883c1cf32474ad65a507e6...
2 changed files
-
M
actionpack/lib/action_dispatch/middleware/session/abstract_store.rb -
M
actionpack/lib/action_dispatch/middleware/session/cookie_store.rb