AmigaActive (1868/2347)

From:Nick Knight
Date:24 Mar 2001 at 23:12:26
Subject:Re: Javascript cookies.

Hi Neil,

> Nick Knight said,
>
> > I'm wondering how to created a cookie useing javascript.
>
> > setcookie("var")
>
> > I tried ^ this useing 'var' as the date but I can't get it to work.
>
> Where does "setcookie()" come from, have you defined this function?
> Cookies are stored as a property of the document, in document.cookie.
> This contains a list of all cookies for the current document.
>
> You can't post one line of code and "i doesn't work" and expect people
> to fix it for you, give more information.

Ye sorry about that.

I was copying parts of source code from some one elses script so in
the script I wrote, I'm not sure what every thing does. I have got a
Javascript book but it does'nt have anything in it about cookies so
I think I'll get a better book.

Regards

Nick Knight

------------------------ Yahoo! Groups Sponsor ---------------------~-~>
Do you have 128-bit SSL encryption server security?
Get VeriSign's FREE Guide, "Securing Your
Web Site for Business." Get it now!
http://us.click.yahoo.com/EVNB7A/c.WCAA/bT0EAA/d8AVlB/TM
---------------------------------------------------------------------_->

Quote carefully and read all ADMIN:README mails

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/