haXe API Documentation
Back | Index
class js.Cookie
Available in js
static function all() : haxe.ds.StringMap<String>
static function exists(name : String) : Bool
static function get(name : String) : Null<String>
static function remove(name : String, ?path : String, ?domain : String) : Void
static function set(name : String, value : String, ?expireDelay : Int, ?path : String, ?domain : String) : Void
Create or update a cookie. expireDelay (seconds), if null, the cookie expires at end of session
Back | Index