Struct iron_sessionstorage::SessionStorage
[−]
[src]
pub struct SessionStorage<B: SessionBackend> { /* fields omitted */ }
The most important type, the middleware you need to register.
First parameter is a session backend, which determines how your session data is actually stored. Depending on whether you store your data clientside (signed cookies) or serverside (e.g. Redis and a session key) you're going to have different security properties.