Re: Race conditions in Rails sessions

50 views
Skip to first unread message

Frederick Cheung

unread,
Feb 4, 2013, 9:54:12 AM2/4/13
to rubyonra...@googlegroups.com
On Monday, February 4, 2013 1:14:05 PM UTC, Rafael Sales wrote:

Hey guys,

I have been facing a race condition in rails 2.3 session. The problem is well described here: http://www.paulbutcher.com/2007/05/race-conditions-in-rails-sessions-and-how-to-fix-them/
I could reproduce the same scenario in rails 3.
Since this is not considered a problem for many and because of this Rails is not gonna fix it, did anyone tried a plugin or workaround to merge the concurrent sessions or something like that?

I was working with paul back when he wrote that post and the session store we developed to fix that problem is still available at https://github.com/fcheung/smart_session_store/. I no longer use it myself although I believe it does still work - I remember updating it for rails 3.

Fred
Reply all
Reply to author
Forward
0 new messages