Ok, I'm embarrassed to ask, but I've already spent hours looking for help in js tutorials. I set a cookie with Perl when my members log on to my site and I can access that cookie on any cgi page, but when a member returns to my Members.html page I would like it to say Welcome User. Can JS read a cookie set by perl? I think there should be no problem cuz all cookies are set with the same format, right? All the js cookie tutorials I've seen jump right in to their own cookie functions and none of those work for me. Not knowing *any* javascript, it would be nice if I could find a site that explains how I can just print the entire cookie with js. Then I'll learn how to parse it for the value, know what I mean? I tried document.write(document.cookie); but got nothing. any ideas? Bompa
First question, are you setting a specific expiration on the cookie? If not, it will be gone when they close the browser. If you are setting an expiration, try doing in javascript: alert(document.cookie); and see what that gives you in an alert window.