Util.cookieRead

Gets the value for a cookie.

Syntax:

s.Util.cookieRead(key)

Parameters:

Parameter Description
key (required) key to write value for in cookies.

Returns:

Cookie value or an empty string if the cookie is not found.

Example:

var myCookie = s.Util.cookieRead("my_cookie");