util/ Cookie.jsSimple functions to get and set cookie information Copyright2004 Rob Rohan robr@gmai l.com All rights reserved ohan Summary
|
the library version
var COOKIE_VERSION
gets a value from the current cookie
function getCookie( name )
sets a value in a cookie
function setCookie( name, value, expires, path, domain, secure )
Removes a cookie (sets the expires to the past really)
function removeCookie( name, path, domain, secure )
sets a cookie that will last 20 years
function setPermCookie( name, value, path, domain, secure )
Sets the preformatted string to the cookie
function setRawCookie( cookie )