(sess: Session)
| 337 | |
| 338 | // check if session has been saved |
| 339 | const isSaved = (sess: Session) => originalId === sess.id && savedHash === hash(session) |
| 340 | |
| 341 | function shouldsetCookie(sessionID?: string | boolean | undefined, session?: Session) { |
| 342 | // cannot set cookie without a session ID |