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):Bool

staticget(name:String):Dynamic

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

staticgetId():String

staticgetName():String

staticregenerateId(?deleteold:Bool):Bool

staticremove(name:String):Void

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

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:() ‑> Bool, read:String ‑> String, write:(String, String) ‑> Bool, destroy:String ‑> Bool, gc:Int ‑> Bool):Bool

staticsetSavePath(path:String):Void

staticstart():Void