javascript thread: syntax of multiple cookies
I own two books on javascript and they are both rather bad. I've looked through them and not gotten a sense of how one handles multiple cookies. Is it correct to say that if I set a cookie beenToSite=yes and set another cookie boughtBook=yes that I can then access these cookies as var holdVisitVaule = document.cookies.beenToSite Now the variable holdVisitValue contains the string "yes" ? If not, how to do I get that value? How does one access multiple cookies? thanks, Lawrence K.
|





