Function Cookie.read
Retreive a named cookie.
-
Syntax
Cookie Cookie.read(String name )
Retrieve a cookie by name. -
Parameters
String name- The name of the cookie
- Return value A Cookie object created from the named cookie.
-
Examples
- To retrive the Cookie named as 'myCookie'
var c = Cookie.getCookie('myCookie');
-
Download
Source
Unless otherwise noted all code in the JSLab Standard Library is licensed as GPLv3. See http://www.gnu.org/licenses/gpl.html for the entire license.
This function has dependencies and will not work stand-alone. Use the download button above instead of copy/paste.
