A cookie should be a random nonce that is used as a key to look up session information in a host-side database. Session information is typically stored as a JSON string, or in the Python world as a "pickle." You should find the information that you seek there. If you do find the information that you want in the text of the cookie, you will need to in some way loop through the entire list of cookies and apply some regular-expression which will strip-away the hash (and indicate that the cookie matches the format you expect). But I would look at the session-database on the host first.