Thursday, May 5, 2016

Regarding session_key validation

Right now what django is doing is :-

1. It checks the session id is correct or not by checking the user associated with the session id
2. If the session id is not present it send the user as anonomous and because of which it redirects one to the login page .
3. But my concern is that if i want to log this event in the audit log of my application using django to get the false session id request.Is it possible to write a middleware for this??


regards 
samarjeet singh

--
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/271c51d4-c4d2-4090-bc0b-c2c41595eabb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment