Active sessions and the cookie store
Reported by Xavier Noria | December 26th, 2007 @ 11:50 PM | in Second Edition
To ponder the inclusion of a remark about the cookie store in the section "Tracking Active Sessions":
Active sessions cannot be computed in the server if you use the cookie store because you have effectively distributed all your sessions to the clients.
If you need to know how many users are online you can still have a dedicated timestamp:
# run after authentication
current_user.update_attribute('last_request_at', Time.now) if logged_in?
Comments and changes to this ticket
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
