Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.javascript Subject: Re: Could i store settings in a cookie file? Date: Fri, 6 Dec 2019 14:59:24 +0100 Lines: 37 Message-ID: References: <6e6dcd6b-ae45-484a-9144-7c26dcb78a63@googlegroups.com> <7aab9938-6a0d-4464-8765-ab37ed2011a4@googlegroups.com> <7ef0626f-a34d-4d34-a3d3-ba9d90ba86b2@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: individual.net vxFHiZPqQp3r8VOIwdmWyQKq/3Uln4/MhhXo2HrG9DDUKc9UPD Cancel-Lock: sha1:Ip/gMs1tBu2aIThkdLqyvXcSF3g= In-Reply-To: <7ef0626f-a34d-4d34-a3d3-ba9d90ba86b2@googlegroups.com> Content-Language: en-US Xref: csiph.com comp.lang.javascript:37939 On 06.12.19 09:15, Julio Di Egidio wrote: > On Friday, 6 December 2019 08:26:21 UTC+1, Arno Welzel wrote: >> On 05.12.19 09:26, Julio Di Egidio wrote: >>> On Thursday, 5 December 2019 09:15:59 UTC+1, R.Wieser wrote: >>>> 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. >>> >>> Not really (indeed hardly w3schools ever contains everything that there is to >>> know): it not only does not cover the whole spec, it is also messy about, and >>> eventually lacking, the encoding/decoding of names and values. >>> >>> MDN is already better, although not even there you will find production-level >>> code... >> >> So it's time for YOU(!) to provide that and to show your expertise in >> this area. > > And when is it going to be time that you stop fucking around? You just need to follow your own "plonks" and ignore my posts - problem solved. -- Arno Welzel https://arnowelzel.de