Session consists of a way to preserve certain data across subsequent accesses.

Static variables

staticread onlystarted:Bool

Static methods

staticclear ():Void

staticclose ():Void

staticexists (name:String):Unknown

staticget (name:String):Dynamic

staticgetCookieParams ():{secure:Bool, path:String, lifetime:Int, httponly:Bool, domain:String}

staticgetId ():String

staticgetModule ():String

staticgetName ():String

staticregenerateId (?deleteold:Bool):Bool

staticremove (name:String):Void

staticset (name:String, value:Dynamic):Unknown

staticsetCacheExpire (minutes:Int):Void

staticsetCookieParams (?lifetime:Int, ?path:String, ?domain:String, ?secure:Bool, ?httponly:Bool):Void

staticsetId (id:String):Void

staticsetModule (module:String):Void

staticsetName (name:String):Void

staticsetSaveHandler (open:String ‑> String ‑> Bool, close:Void ‑> Bool, read:String ‑> String, write:String ‑> String ‑> Bool, destroy:Unknown, gc:Unknown):Bool

staticsetSavePath (path:String):Void

staticstart ():Void