Barefoot.CookieAdapter.Client

This mixin contains client specific code for the Barefoot.CookieAdapter component.

The client CookieAdapter reads and writes the cookies directly from the browsers memory.

See also

Summary
Barefoot.CookieAdapter.ClientThis mixin contains client specific code for the Barefoot.CookieAdapter component.
Functions
getReturns a specific cookie value.
setSets the value of a cookie with the specified key.

Functions

get

function get(key)

Returns a specific cookie value.

Parameters

(String) keyThe key of the cookie which should be returned.

Returns

(String) the cookies value

set

function set(key,
value)

Sets the value of a cookie with the specified key.

Parameters

(String) keyThe key of the cookie you’d like to set
(String) valueThe value you’d like to set for the specified key
The CookieAdapter gives generalized access to cookies on the client and server side.
function get(key)
Returns a specific cookie value.
function set(key,
value)
Sets the value of a cookie with the specified key.
This mixin contains client specific code for the Barefoot.CookieAdapter component.
Close