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

Re: Cookies (how to use them?)

On Wed, 20 Mar 1996 22:23:49 -0500 Christian Lanctot wrote:

>         How do you use cookies in javascript. I'm still not quite clear on
> this. What i want to do is set a cookie when a user comes into my site. And
> the next time he comes back, read that coockie and display the proper
> information.
>         I want to use it so that a user can enter his name and a couple of
> settings (preferences) and save them into different cookies that i will
> recall whenever the user comes back to my page. I've read the Docs on
> Cookies, but there really isn't any practical information that i've found
> that relates to using Cookies with Javascript.
>         Anybody know of a tutorial or FAQ for setting and recalling cookies
> with JavaScript?
> thanks.
> Christian Lanctot

I have a cookies demo with cookie functions and a last visit example 
(among others) at:


Select the 'Cookies and Banners' link.

For help about the list, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.
List archives and pointer to FAQ: http://www.obscure.org/javascript/