Monday, January 21, 2013

Re: Newbie question: session-length data storage best practices?

Nik,

My concerns are about security. I have some sensitive data associated with each user's session, and I'd like to make sure it is deleted when the user logs out or their session times out or closes their browser window. There's also some other clean up actions I'd like to do under the same circumstances.

I took a look at the session caching documents (thanks for the pointer), and I think I would have to go for the cached_db option; if I just used the plain vanilla cache option and the data got expired out of the cache, it would create a terrible user experience. But I would to understand the mechanism by which session data gets purged from the database backend. Can I rely on it getting purged with each log out/session time out/browser window closure?

Again, thanks for the good feedback.

Spork

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/SOs0zvR48PMJ.
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