tag:blogger.com,1999:blog-21222625.post116005849321642946..comments2023-10-26T08:02:30.987-04:00Comments on The Pothoven Post: Using Cookies in JavaScriptUnknownnoreply@blogger.comBlogger8125tag:blogger.com,1999:blog-21222625.post-78033004525511374132007-09-29T20:06:00.000-04:002007-09-29T20:06:00.000-04:00Thanks for the correction!Per the update at the to...Thanks for the correction!<BR/><BR/>Per the update at the top of this posting, I don't actually use this version anymore, but use the <A HREF="http://blog.pothoven.net/2007/02/cookies-and-flash-for-local-storage.html" REL="nofollow">Flash storage enabled version.</A> which had this correction, but I still want to keep the information provided here correct.Steven Pothovenhttps://www.blogger.com/profile/12363162933609862672noreply@blogger.comtag:blogger.com,1999:blog-21222625.post-17962619541648364572007-09-29T15:37:00.000-04:002007-09-29T15:37:00.000-04:00The code above is still buggy: in function readCoo...The code above is still buggy: in function <I>readCookie</I> there is a closing curly bracket missing after the following line:<BR/><I>cookie = cookie.substring(1, cookie.length);</I>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-21222625.post-72512637119693338112007-08-21T10:31:00.000-04:002007-08-21T10:31:00.000-04:00Thank you for the correction.Thank you for the correction.Steven Pothovenhttps://www.blogger.com/profile/12363162933609862672noreply@blogger.comtag:blogger.com,1999:blog-21222625.post-3930649497166773572007-08-20T23:51:00.000-04:002007-08-20T23:51:00.000-04:00var expires = "";should bevar expires = ";";var expires = "";<BR/>should be<BR/>var expires = ";";Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-21222625.post-1166219131896525032006-12-15T16:45:00.000-05:002006-12-15T16:45:00.000-05:00That may be because I somehow introduced a typo in...That may be because I somehow introduced a typo in the code. (I had "var cokkies" instead of "var cookies" in the readCookie function.<BR/><BR/>I have corrected it now.Steven Pothovenhttps://www.blogger.com/profile/12363162933609862672noreply@blogger.comtag:blogger.com,1999:blog-21222625.post-1166203483699891242006-12-15T12:24:00.001-05:002006-12-15T12:24:00.001-05:00this code didnt work on IE7 =/this code didnt work on IE7 =/Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-21222625.post-1163396393953543592006-11-13T00:39:00.000-05:002006-11-13T00:39:00.000-05:00wish i could make my earlier comment disappear. tu...wish i could make my earlier comment disappear. turns out i did make a cookie, but i missed seeing it because there were so many other cookies in my temporary internet files folder.yitwailhttps://www.blogger.com/profile/10877447511620596800noreply@blogger.comtag:blogger.com,1999:blog-21222625.post-1163383856270789122006-11-12T21:10:00.000-05:002006-11-12T21:10:00.000-05:00steve,are you sure your javascript cookie code wor...steve,<BR/><BR/>are you sure your javascript cookie code works in IE7? i'm teaching myself JavaScript and can't create a cookie in IE7, although i did succeed in IE6 but on a different machine.<BR/><BR/>thanks,<BR/>John Kyitwailhttps://www.blogger.com/profile/10877447511620596800noreply@blogger.com