Session

package php

Available on php

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

staticgetCacheExpire():Int

staticgetCacheLimiter():CacheLimiter

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

staticgetId():String

staticgetModule():String

staticgetName():String

staticgetSavePath():String

staticregenerateId(?deleteold:Bool):Bool

staticremove(name:String):Void

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

staticsetCacheExpire(minutes:Int):Void

staticsetCacheLimiter(l:CacheLimiter):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

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/php/Session.html