I ran across this a while back. If you want to hold info in cookies here is a good javascript function to do so.
function setCookie(c_name,value)
{
var ex=new Date();
ex.setHours(ex.getHours()+14);
var c_value=escape(value) + ((ex==null) ? "" : "; expires="+ex.toUTCString());
document.cookie=c_name + "=" + c_value;
}
No comments:
Post a Comment