createFileSessionStorage

createFileSessionStorage

createFileSessionStorage<Data = SessionData, FlashData = Data>(props): SessionStorage<Data, FlashData>

Creates a SessionStorage that stores session data on a filesystem.

The advantage of using this instead of cookie session storage is that files may contain much more data than cookies.

Parameters

  • props: FileSessionStorageOptions
Docs and examples CC 4.0