Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #39601

Re: Now that Google is going to remove cookies...

From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.javascript
Subject Re: Now that Google is going to remove cookies...
Date 2021-03-08 09:50 +0100
Message-ID <iam6quFl90eU1@mid.individual.net> (permalink)
References (1 earlier) <628cce56-386e-4c2a-84fe-14254f9ad784n@googlegroups.com> <20975921.EfDdHjke4D@PointedEars.de> <iahsfnFq0cmU1@mid.individual.net> <5gU0I.133417$zY.31899@fx36.iad> <1820186.taCxCBeP46@PointedEars.de>

Show all headers | View raw


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.
> 
> <https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie>

The better way to store information client side only is the web storage:

<https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API>


-- 
Arno Welzel
https://arnowelzel.de

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Now that Google is going to remove cookies... Groo Vee <groovee@cyberdude.com> - 2021-03-04 07:05 -0800
  Re: Now that Google is going to remove cookies... "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-03-04 10:57 -0800
    Re: Now that Google is going to remove cookies... Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2021-03-04 20:47 +0100
      Re: Now that Google is going to remove cookies... Arno Welzel <usenet@arnowelzel.de> - 2021-03-06 18:29 +0100
        Re: Now that Google is going to remove cookies... Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2021-03-06 23:45 +0100
          Re: Now that Google is going to remove cookies... Arno Welzel <usenet@arnowelzel.de> - 2021-03-07 23:08 +0100
        Re: Now that Google is going to remove cookies... Richard Damon <Richard@Damon-Family.org> - 2021-03-06 18:30 -0500
          Re: Now that Google is going to remove cookies... Arno Welzel <usenet@arnowelzel.de> - 2021-03-07 23:09 +0100
          Re: Now that Google is going to remove cookies... Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2021-03-08 00:31 +0100
            Re: Now that Google is going to remove cookies... Arno Welzel <usenet@arnowelzel.de> - 2021-03-08 09:50 +0100
              Re: Now that Google is going to remove cookies... John G Harris <niam@jghnorth.org.uk.invalid> - 2021-03-08 11:44 +0000
                Re: Now that Google is going to remove cookies... Arno Welzel <usenet@arnowelzel.de> - 2021-03-08 16:34 +0100
                Re: Now that Google is going to remove cookies... John G Harris <niam@jghnorth.org.uk.invalid> - 2021-03-09 18:17 +0000
    Re: Now that Google is going to remove cookies... Groo Vee <groovee@cyberdude.com> - 2021-03-05 20:13 -0800
      Re: Now that Google is going to remove cookies... "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-03-06 07:45 -0800
  Re: Now that Google is going to remove cookies... Arno Welzel <usenet@arnowelzel.de> - 2021-03-06 18:35 +0100

csiph-web