Needed to sign in
Without these you can still browse and download, but not sign in.
| Cookie | What it’s for | Lasts |
|---|---|---|
better-auth.session_token | Keeps you signed in. Only set when you sign in. On the live site its name starts with __Secure-. | 7 days, renewed while you use the site |
better-auth.state | Protects signing in with Google from forged requests. Also starts with __Secure- on the live site. | 5 minutes, while you sign in |
better-auth.better-auth-passkey | Checks that a passkey answers the request this site made, while you add one or log in with one. Also starts with __Secure- on the live site. | 5 minutes, while you use a passkey |
better-auth.session_tokenKeeps you signed in. Only set when you sign in. On the live site its name starts with __Secure-.
Lasts: 7 days, renewed while you use the site
better-auth.stateProtects signing in with Google from forged requests. Also starts with __Secure- on the live site.
Lasts: 5 minutes, while you sign in
better-auth.better-auth-passkeyChecks that a passkey answers the request this site made, while you add one or log in with one. Also starts with __Secure- on the live site.
Lasts: 5 minutes, while you use a passkey
Preferences and view counts
These are set by OurDIU itself and never leave it. Deleting them resets your choices.
| Cookie | What it’s for | Lasts |
|---|---|---|
ourdiu_theme | Remembers light or dark mode, if you pick one. | 1 year |
qb_department | Remembers the department you last filtered questions by, so the list opens on it. | 1 year |
qb_theater | Set if you turn on theater mode, so question papers keep opening across the whole window. | 1 year |
ourdiu_space | Remembers which part of OurDIU you were last in (e.g. the Question Bank), so pages like your account keep its menu and lead back to it. | 1 year |
ourdiu_routine | Set if you make a section (e.g. 67_B1) or a teacher’s week of the class routine yours, so the Class Routine’s Today shows it. | 1 year |
ourdiu_routine_department | Remembers the department whose class routine you last looked at (e.g. CSE), so Students and Teachers open it again. | 1 year |
ourdiu_cover_page | Not a cookie but your browser’s storage: if you tick “Remember my details” on a cover page, your name, ID, section and department, so the next one is filled in. Never sent to the site. | Until you untick it or clear the site’s data |
ourdiu_app_declines | On Android, counts the times you chose the browser over the app, so after two it stops suggesting the app. | 400 days |
ourdiu_app_sheet | On Android, set when you answer “Open in the app” (or close it), so it isn’t asked again. | 400 days |
qb_views_qqb_views_s | Count your view of a question or paper once a day. They only hold page numbers and times. | 24 hours |
ourdiu_themeRemembers light or dark mode, if you pick one.
Lasts: 1 year
qb_departmentRemembers the department you last filtered questions by, so the list opens on it.
Lasts: 1 year
qb_theaterSet if you turn on theater mode, so question papers keep opening across the whole window.
Lasts: 1 year
ourdiu_spaceRemembers which part of OurDIU you were last in (e.g. the Question Bank), so pages like your account keep its menu and lead back to it.
Lasts: 1 year
ourdiu_routineSet if you make a section (e.g. 67_B1) or a teacher’s week of the class routine yours, so the Class Routine’s Today shows it.
Lasts: 1 year
ourdiu_routine_departmentRemembers the department whose class routine you last looked at (e.g. CSE), so Students and Teachers open it again.
Lasts: 1 year
ourdiu_cover_pageNot a cookie but your browser’s storage: if you tick “Remember my details” on a cover page, your name, ID, section and department, so the next one is filled in. Never sent to the site.
Lasts: Until you untick it or clear the site’s data
ourdiu_app_declinesOn Android, counts the times you chose the browser over the app, so after two it stops suggesting the app.
Lasts: 400 days
ourdiu_app_sheetOn Android, set when you answer “Open in the app” (or close it), so it isn’t asked again.
Lasts: 400 days
qb_views_qqb_views_sCount your view of a question or paper once a day. They only hold page numbers and times.
Lasts: 24 hours
Your browser’s own storage (not a cookie) also keeps the courses you opened recently, for the course search’s Recent list. It never leaves your browser.
Analytics
Set by Google Analytics, which reports usage to Google. They are not used for ads. To stop them, block cookies for the site or use Google’s opt-out add-on.
| Cookie | What it’s for | Lasts |
|---|---|---|
_ga_ga_QPKSEMRTZ2 | Google Analytics: tell visits apart, so I can see how many people use the site and which pages help. | Up to 2 years |
_ga_ga_QPKSEMRTZ2Google Analytics: tell visits apart, so I can see how many people use the site and which pages help.
Lasts: Up to 2 years
Controlling cookies
Your browser can show, block and delete cookies. Blocking the sign-in cookies stops you from signing in; the rest of the site keeps working. See the privacy policy for how your data is used.