Unfortunately, there's no guaranteed way to know if a user is still
logged in just by the session. If you're using Comet you can be pretty
sure, depending on how quickly the Comet backend becomes aware of an
unsubscribe action. With AJAX you could do some kind of regular
check-in, but that solution sucks. Otherwise, if a person requests a
page on your site (refreshing their "last seen" status), they can
close their browser immediately after and you wouldn't know.
Shawn
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.