Reputation: 134
I want to know if there is any way available so that I can know session id from the requests that are submitted to a server.
For example, an web server is running. Some users are logged in. Each of the user has a distinct session id. They are submitting requests to the server. is it possible to determine to find the session id from the respective requests?
Thanks in advance.
Upvotes: 0
Views: 33
Reputation: 54
You can get the session id by
request.COOKIES['sessionid']
hope this will help.
Upvotes: 1