Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] cookies


  • From: javascript@xxxxxxxxxx (r pasadhy)
  • Subject: [Javascript] cookies
  • Date: Mon, 25 Mar 2002 11:28:14 -0800 (PST)

Hi,
I am setting a cookie on page1.asp as such :

document.cookie = 'Saved=true';

A subsequent alert (document.cookie) displays this
cookie.

But when I go to page2.asp and do
alert(document.cookie), it does not display that
cookie!

Can some one please show me what I am doing wrong
here?

Thanks.


__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/