Monday, 30 December 2024

Alexdwards scs v2 -> session manager

 How it works


Creates server side session -> generates token in server side using built in store, can also link the store to custom mysql storage, so you have to implement token removal upon expiry, then store session data with token in mysql storage -> ask browser to save token in cookie -> each time browser send request, extracts token in cookie using r.context()

No comments:

Post a Comment