pub struct CookieStore;
A session store that serializes the entire session into a Cookie.
This implementation uses
bincode to serialize the
Session to decrease the size of the cookie. Note: There is a
maximum of 4093 cookie bytes allowed per domain, so the cookie
store is limited in capacity.
Note: Currently, the data in the cookie is only signed, but not encrypted. If the contained session data is sensitive and should not be read by a user, the cookie store is not an appropriate choice.
SessionStore::clear_store are not meaningful for the
CookieStore, and noop. Destroying a session must be done at the
cookie setting level, which is outside of the scope of this crate.
constructs a new CookieStore
Returns the argument unchanged.