Thursday, October 23, 2014

Re: is it possible to detect the end of the django app?

the end of user's task on an internet application can be:

Disconnecting: this is clear, disconnects if there is a login, and goes do other stuff, simply if the cookie is removed, that means his task is over.

Being idle: you detect with the cookie if there is not a big delta time from where he sent the request.

Closing the tab: this must be done with javascript.

--
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-users@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/f08ded66-6a21-471d-8886-28131b912468%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment