Compress big session cookie to try to avoid the 4KB limit.
For convenience, server side session store implementations should base on this trait.
For convenience, server side session store implementations should base on this trait. It handles storing and restoring session ID in cookie for you.
SeriDeseri's to/fromSecureUrlSafeBase64 is for preventing a user to mess with his own data to cheat the server.
SeriDeseri's to/fromSecureUrlSafeBase64 is for preventing a user to mess with his own data to cheat the server. CSRF is for preventing a user to fake other user's data.