Regarding session_key validation

19 views
Skip to first unread message

Samarjeet Singh

unread,
May 5, 2016, 3:06:29 AM5/5/16
to Django users
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
Reply all
Reply to author
Forward
0 new messages