gvwilson / web-tutorial

Web Programming for Data Scientists
https://gvwilson.github.io/web-tutorial/
Other
9 stars 0 forks source link

invalid cookies stick around #67

Open gvwilson opened 3 months ago

gvwilson commented 3 months ago

From 13_auth onward, the server forgets sessions each time it is restarted, but the cookie persists in the browser tab, so someone can have a cookie that seems to say "you're logged in" but which is no longer valid. We need to explain this and do something about it - @gvwilson's attempt to add an "erase cookie" button to the page didn't work, but there has to be a way.