my opinion,
frontend:
setup a ping api, and refresh every 30 seconds, pass in a current page url from javascript, and return current page viewers.
backup:
a table has 3 main column (user id, page id, last_ping). update the page_id and last_ping when receiving a ping request. and return users list who are on the same page and last_ping within 60 seconds.
30 or 60 seconds are sample data.
Regards,
Dig
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5315C6F8.10701%40googlemail.com.
For more options, visit https://groups.google.com/groups/opt_out.