[Rails] Forcing a reload for all user sessions
I'm storing some user info in session (like the name, using cookies), in Ruby on Rails 3.2
- Let's suppose the user opens the site in two different browsers, and logs in.
- He changes his name in one browser, and switches to the other browser and refreshes the page.
- The second browser still shows the old name, because it is stored in session.
How can I force a refresh in all sessions? Is this possible?
--You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/qOYEdE6inGEJ.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home