Skip to main content
zerotal

Documentation


Documentation / @zerotal/session / SESSION_ISSUED_AT_KEY

Variable: SESSION_ISSUED_AT_KEY

const SESSION_ISSUED_AT_KEY: "_iat" = "_iat"

Defined in: session/src/drivers/CookieDriver.ts:70

Reserved data key carrying the session's original issue time (epoch seconds).

It rides in the data bag because that is the only thing a driver gets handed back on save — the SessionDriver contract passes (id, data, response) and nothing else — so it is how "when did this session first exist?" survives a round trip and makes CookieDriver's absolute lifetime enforceable.