Home | History | Annotate | Download | only in assets

Lines Matching refs:cookie

103 function readCookie(cookie) {
104 var myCookie = cookie_namespace+"_"+cookie+"=";
105 if (document.cookie) {
106 var index = document.cookie.indexOf(myCookie);
109 var valEnd = document.cookie.indexOf(";", valStart);
111 valEnd = document.cookie.length;
113 var val = document.cookie.substring(valStart, valEnd);
120 function writeCookie(cookie, val, section, expiration) {
128 document.cookie = cookie_namespace + section + cookie + "=" + val + "; expires=" + expiration+"; path=/";
306 * and save the new size to a cookie */