Sunday, July 4, 2010

Re: *Immediate* session expiration problem/bug in IE

I have an update. It turns out that setting the timeout in set_expiry
to a much larger value prevents the immediate timeout. Of course, this
means that people in well-behaved browsers won't time out when they
should. This is despite the fact that I've tried sending both an
integer (for seconds) and a timedelta object to set_expiry, as
described in the docs.

My next step is to have a look at HTTP_USER_AGENT in request.META and
see if I can find a correlation between its value and the timeout
problem.

Has anyone had experience with this, especially regarding whether
HTTP_USER_AGENT is reliably present and accurate?

Thanks,
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-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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate