DOPΣ - it was just bloat code, was checking ses...

it was just bloat code, was checking session token expiry client side, but api already checks it with db, so we dont need this what needs to change in server? i guess its doing fine, will send session_not_found if session expired?? or something i am missing
No description
No description
4 Replies
Seve
Seve2w ago
if session is expired why don't we throw an error session_expired instead of session_not_found
DOPΣ
DOPΣOP2w ago
are sessions automatically deleted?
Seve
Seve2w ago
i think they persist on the backend indefinitely but not sure eventually we'll probably clear them with a cron you sometimes keep sessions for security purposes so that you can reverse or have audit logs, e.g. if a session is compromised, we're not super worried about that atm though

Did you find this page helpful?