PDA

View Full Version : cookies


Dr. Web
06-20-2001, 02:55 PM
need a way to parse the session variables for certain cookies.

Right now cookies come is like this:
sessionid=euhuw;sessiondate=10/11/1111;welcomemessage=hi;password=hello


and I want to access a certain cookie.... in this case password. I need to accomplish this in JS, because there will be a client side validation in progress, but I wish to keep the password out of the source code, and I wish to perform this validation client side... not server side. Any ideas?