p2p.wrox.com - beginning_javascript archive
Our web spider found the following code snippet at p2p_wrox_com and contains information about asin and JavaScript.
t;SCRIPT LANGUAGE="JavaScript">
var LastVisit = getCookieValue("LastVisit");
if (LastVisit != null)
 {
LastVisit = new Date(LastVisit);
if (LastVisit<LastUpdate)
 {
document.write("<a href=\"news.html\">");
  }
}
var NowDate=new Date();
setCookie("LastVisit",NowDate.toGMTString(),"","")
</SCRIPT>
</BODY>
</HTML> WHEN I LOADED THIS PAGE MY PAGE DIDN'T REFRESH TO THE PAGE NEWS.HTML!!!
WHAT'S WRONG IN MY CODE??? 
Message #2 by Jonathan Gold <jonnygee@p...> on Wed, 04 Sep 2002 17:36:30 -0700

 
Dunno,

but there's a typo 24 lines from the bottom;

"CookieEndsAt=CookieValue.lenght;"

could that have done it? 

Jonathan Gold
jonnygee@pacbell.net

-----Original Message-----
From: sERGEY [mailto:extr_eme@mail
Read the entire article....