vegui. sk. cookie.js

Dependencies

none

Summary
none
Sets a cookie
Return value of a cookie variable
Creates and returns a list of all the cookies in the document in object form
Delete a cookie variable

Functions

vsk_cookie_set

function vsk_cookie_set(name,
value,
time,
path)

Sets a cookie

Parameters

string namevariable name to set
variable valuevalue of cookie variable
<int time>validity time of variable (ms)
<string path>path component of the cookie variable

See also

vsk_cookie_get, vsk_cookie_unset, vsk_cookie_list

vsk_cookie_get

function vsk_cookie_get(name)

Return value of a cookie variable

Parameters

string namevariable name

Returns

variablevalue of the requested variable
nullif no cookie variable by the requested name was found

See also

vsk_cookie_set, vsk_cookie_list

vsk_cookie_list

function vsk_cookie_list()

Creates and returns a list of all the cookies in the document in object form

Returns

Objectobject holding cookie key : value pairs

See also

vsk_cookie_get

vsk_cookie_unset

function vsk_cookie_unset(name)

Delete a cookie variable

Parameters

string namename of the cookie variable you want to delete
function vsk_cookie_set(name,
value,
time,
path)
Sets a cookie
function vsk_cookie_get(name)
Return value of a cookie variable
function vsk_cookie_list()
Creates and returns a list of all the cookies in the document in object form
function vsk_cookie_unset(name)
Delete a cookie variable