Some one asked me if the Persistent Login would throw a user immediately off of the "Who's Online" block if they closed their browser. I tested and it does not.
I doubt that the effect could be immediate but it could be sooner that setting a 10min time limit where users who are inactive get removed after 10min.
Is it possible to tightly integrate PL with the Who's online block? Or maybe... is there a way to create a VIEW or a custom query that would be more responsive to the scope that PL introduces?
Thanks!
Comments
Comment #1
gappleThe session cookie is destroyed on the user side if they close their browser, but nothing is sent to notify Drupal. Therefore Drupal has to hold on to sessions in the database until they are explicitly destroyed via a logout, or are garbage collected after a suitable inactivity period.
This is the same whether Persistent Login is enabled or not; Persistent Login does not change anything in this regard other than forcing the creation of a new session id when the user returns instead of reusing the original session.