Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.javascript Subject: Re: Now that Google is going to remove cookies... Date: Mon, 8 Mar 2021 09:50:39 +0100 Lines: 22 Message-ID: References: <6ebeffb7-a16b-451b-8aea-bc382bf6f648n@googlegroups.com> <628cce56-386e-4c2a-84fe-14254f9ad784n@googlegroups.com> <20975921.EfDdHjke4D@PointedEars.de> <5gU0I.133417$zY.31899@fx36.iad> <1820186.taCxCBeP46@PointedEars.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net btAXhJHrGKTp70VvjeLSDwNZfqi6FcEv9qrFF5UozXl9gTjeWp Cancel-Lock: sha1:IYuL7HcxA8cumJeVWHLv1ECoQsk= In-Reply-To: <1820186.taCxCBeP46@PointedEars.de> Xref: csiph.com comp.lang.javascript:39601 Thomas 'PointedEars' Lahn: [...] > b) For a client-side (usually browser) session or for temporary storage > that survives the end of a client-side session (given by the > “expires“ value), store all the data in cookies client-side. The > client will transfer all relevant cookies to the server as described > in a), but the data can also be exclusively used client-side. > > Cookies can be read and set using the “document.cookie” property, unless > they had been set with the “httponly” flag set. > > The better way to store information client side only is the web storage: -- Arno Welzel https://arnowelzel.de