Monday, January 31, 2011

Re: mis-named setting? SESSION_EXPIRE_AT_BROWSER_CLOSE

> You can't stop the user from closing the browser, or switching to another
> tab, with JS. And you shouldn't try to stop them navigating away - this
> sort of thing is only likely to annoy them intensely.

Taking this to the extreme - what do you want to happen if a person using
your site has a powercut? Or pulls out their network connection? This
will not run any site-close javascript.

We had a designer request similar functionality in a Struts app years ago
- it's really annoying and goes wrong often and we vowed never to do it
again.

How about looking at RabbitMQ or XMPP for presence?

Tim.


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment