Reference
createSession
Creates a new session record, stores it, and appends the session cookie to the response.
Signature
function createSession<TData>(response: Response, store: SessionStore<TData>, data: TData, options?: SessionCookieOptions): Promise<SessionRecord<TData>>