Path: csiph.com!aioe.org!.POSTED.wIgm+2MIUUYkuZKIR0Uhug.user.gioia.aioe.org!not-for-mail
From: "R.Wieser"
Newsgroups: comp.lang.javascript
Subject: Re: Could i store settings in a cookie file?
Date: Thu, 5 Dec 2019 09:15:38 +0100
Organization: Aioe.org NNTP Server
Lines: 17
Message-ID:
References: <6e6dcd6b-ae45-484a-9144-7c26dcb78a63@googlegroups.com>
NNTP-Posting-Host: wIgm+2MIUUYkuZKIR0Uhug.user.gioia.aioe.org
X-Complaints-To: abuse@aioe.org
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MSMail-Priority: Normal
X-RFC2646: Format=Flowed; Original
X-Notice: Filtered by postfilter v. 0.9.2
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
Xref: csiph.com comp.lang.javascript:37916
Jonas,
>I have a client side script, are cookies dynamic?, can they be read
> and written by a client side script? If so could they be used to store
> settings for the script?
Yes, yes and yes.
I guess you have not tried to google for "javascript cookie" yet ? Why ?
The first result ( https://www.w3schools.com/js/js_cookies.asp ) seems to
contain everything you need to know.
Regards,
Rudy Wieser