W3cubDocs

/Haxe PHP

Session

package php

Available on php

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

Static variables

static read only started:Bool

Static methods

@:has_untyped static clear ():Void

@:has_untyped static close ():Void

@:has_untyped static exists (name:String):Unknown

@:has_untyped static get (name:String):Dynamic

@:has_untyped static getCacheExpire ():Int

@:has_untyped static getCacheLimiter ():CacheLimiter

@:has_untyped static getCookieParams ():{secure:Bool, path:String, lifetime:Int, httponly:Bool, domain:String}

@:has_untyped static getId ():String

@:has_untyped static getModule ():String

@:has_untyped static getName ():String

@:has_untyped static getSavePath ():String

@:has_untyped static regenerateId (?deleteold:Bool):Bool

@:has_untyped static remove (name:String):Void

@:has_untyped static set (name:String, value:Dynamic):Unknown

@:has_untyped static setCacheExpire (minutes:Int):Void

@:has_untyped static setCacheLimiter (l:CacheLimiter):Void

@:has_untyped static setCookieParams (?lifetime:Int, ?path:String, ?domain:String, ?secure:Bool, ?httponly:Bool):Void

@:has_untyped static setId (id:String):Void

@:has_untyped static setModule (module:String):Void

@:has_untyped static setName (name:String):Void

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

@:has_untyped static setSavePath (path:String):Void

@:has_untyped static start ():Void

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