Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #35850
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Accessing the value of a cookie |
| Date | Thu, 22 Nov 2018 12:22:24 +0000 |
| Organization | A noiseless patient Spider |
| Lines | 22 |
| Message-ID | <87y39l9u9r.fsf@bsb.me.uk> (permalink) |
| References | <f11ea23c-05c7-4b52-8f52-c66912ac1e4e@googlegroups.com> <87lg5md2sj.fsf@bsb.me.uk> <f676846e-367a-483e-81ed-6ff68ec3ae7c@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| Injection-Info | reader01.eternal-september.org; posting-host="b670025677fe13092894e2144f27e3f9"; logging-data="18016"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+rE5ew3UnZxOBpwGAjkOm4CM+VCh+HBn8=" |
| Cancel-Lock | sha1:r1uvyaEzc8bRiW2lZ+QixtRMDvU= sha1:r+0c5FpoDqcYfZRDlJgJIRh8JmI= |
| X-BSB-Auth | 1.30ed6c211e502eaeb92a.20181122122224GMT.87y39l9u9r.fsf@bsb.me.uk |
| Xref | csiph.com comp.lang.javascript:35850 |
Show key headers only | View raw
groovee@cyberdude.com writes: > On Wednesday, 21 November 2018 18:07:55 UTC+5:30, Ben Bacarisse wrote: > >> The original code (which you altered) is intended to find out if a key >> exists, not what value it has. > > I did not! This page, look at Example 6 (I have a feeling you were > looking at 5!): Yes, you are right -- I was looking at the very similar previous example. Sorry about that. The code shown in both exercises does not do what it purports to do. Don't copy it. It did not occur to me that such a bad example would be given on the MDN website and I should therefore also apologise for assuming you'd written anything that bad! > https://developer.mozilla.org/en-US/docs/Web/API/document/cookie -- Ben.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Accessing the value of a cookie groovee@cyberdude.com - 2018-11-20 23:33 -0800
Re: Accessing the value of a cookie JJ <jj4public@vfemail.net> - 2018-11-21 16:03 +0700
Re: Accessing the value of a cookie Ben Bacarisse <ben.usenet@bsb.me.uk> - 2018-11-21 12:37 +0000
Re: Accessing the value of a cookie groovee@cyberdude.com - 2018-11-22 00:56 -0800
Re: Accessing the value of a cookie Ben Bacarisse <ben.usenet@bsb.me.uk> - 2018-11-22 12:22 +0000
Re: Accessing the value of a cookie Julio Di Egidio <julio@diegidio.name> - 2018-11-24 06:11 -0800
csiph-web