Cookies

This document describes how gStudio creates/uses cookies

Sr No. Cookie Name Description Example
1 user_id
  • User Id (whole number) of logged-in user.
  • It will be None for anonymous user
165
2 buddy_ids
  • User Id’s (whole number) of buddies.
  • Id’s are seperated by “&”
If there are three buddies: 8976, 432, 321, resulting value will be: 8976&432&3
3 user_and_buddy_ids
  • Concatination of logged-in user’s Id and buddy-ids.
  • Id’s are seperated by “&”
If logged-in user’s id is 165 and 8976, 432, 321 are buddies, resulting value will be: 165&8976&432&3
4 institute_id Contains value of GSTUDIO_INSTITUTE_ID ct54
5 language_code Contains langage code (not language string)
  • en for English
  • hi for Hindi

Apart from above, following are cookies created/used by django

Sr No. Cookie Name Description Example
1 sessionid The name of the cookie to use for sessions. 8f2geoo8s9902jvx7jujzj1oak4yoxtb
2 csrftoken The name of the cookie to use for the CSRF authentication token. pZe0AmnRRMtW3PMvu4xPqQANsIzFPpyG