An instance of operating cookies

zhaozj2021-02-16  185

Operate cookie

-------------------------------------------------- -------------------------------------

function getCookieVal (offset) {var endstr = documents.cookie.indexOf ( ";", offset); if (endstr == -1) endstr = documents.cookie.length; return unescape (documents.cookie.substring (offset, endstr );} Function setCookie (Name, Value) {var argv = setCookie.Arguments; var argc = setCookie.Arguments.Length; var expires = (2

转载请注明原文地址:https://www.9cbs.com/read-8436.html

New Post(0)