Session.start

Starts a new session. Note that a session is also implicitly started as soon as you write data to it, so if you need to alter these parameters from their defaults, be sure to explicitly call this BEFORE doing any writes to session data.

interface Session(Data)
void
start
(
int idleLifetime = 2600 * 24
,)

Parameters

idleLifetime int

How long, in seconds, the session should remain in memory when not being read from or written to. The default is one day.

NOT IMPLEMENTED

useExtendedLifetimeCookie bool

The session ID is always stored in a HTTP cookie, and by default, that cookie is discarded when the user closes their browser.

But if you set this to true, it will use a non-perishable cookie for the given idleLifetime.

NOT IMPLEMENTED

Meta