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

Static variables

staticread onlystarted:Bool

Static methods

@:has_untypedstaticclear ():Void

@:has_untypedstaticclose ():Void

@:has_untypedstaticexists (name:String):Unknown

@:has_untypedstaticget (name:String):Dynamic

@:has_untypedstaticgetCacheExpire ():Int

@:has_untypedstaticgetCacheLimiter ():CacheLimiter

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

@:has_untypedstaticgetId ():String

@:has_untypedstaticgetModule ():String

@:has_untypedstaticgetName ():String

@:has_untypedstaticgetSavePath ():String

@:has_untypedstaticregenerateId (?deleteold:Bool):Bool

@:has_untypedstaticremove (name:String):Void

@:has_untypedstaticset (name:String, value:Dynamic):Unknown

@:has_untypedstaticsetCacheExpire (minutes:Int):Void

@:has_untypedstaticsetCacheLimiter (l:CacheLimiter):Void

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

@:has_untypedstaticsetId (id:String):Void

@:has_untypedstaticsetModule (module:String):Void

@:has_untypedstaticsetName (name:String):Void

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

@:has_untypedstaticsetSavePath (path:String):Void

@:has_untypedstaticstart ():Void