Start a new topic

Getting logged out every 10 seconds

About every 10 seconds I get logged out of cohost, the page refreshes and i'm logged back in again
Doesn't seem to be happening on mobile...

 


it stopped happening

[twin peaks voice] it is happening again 

and i think i found the problem:

image

image


seems like the "loggedIn" API page is getting cached with a "logged-out" response. indeed resending this request fixes the problem :3

here are the response headers

image

notably the "date" is before i logged in

presumably this can be fixed by just setting "Cache-Control: no-cache"?

Login or Signup to post a comment