Cookies¶
This document describes how gStudio creates/uses cookies
| Sr No. | Cookie Name | Description | Example |
|---|---|---|---|
| 1 | user_id |
|
165 |
| 2 | buddy_ids |
|
If there are three buddies: 8976, 432, 321, resulting value will be: 8976&432&3 |
| 3 | user_and_buddy_ids |
|
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) |
|
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 |