Path: csiph.com!news.freedyn.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: Difference between client and server side cookie Date: Sun, 13 Mar 2016 13:46:15 +0100 Organization: PointedEars Software (PES) Lines: 29 Message-ID: <2325956.yKQUHyJ2TD@PointedEars.de> References: <87wpp67j6w.fsf@bsb.me.uk> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1457873177 2126 eJwFwYERgDAIA8CVGpOgjMNB2X8E/81A9KtwyOsdpwvaaiQgUY++SW/cM7fJQRdPcnMel34RqRDL (13 Mar 2016 12:46:17 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Sun, 13 Mar 2016 12:46:17 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwNx0kRwDAMBDBK8Z2F4/rgD6EZvWTi5BXq5mr7tPWmhxFuTtYaN233S+dRdAgQF9/4RQEjzBLBh0otpn9yVBW9 Cancel-Lock: sha1:7avyvYUPGAOMDOsPkWzJQ94Hw+c= X-NNTP-Posting-Host: eJwFwYEBgDAIA7CXZFBqz0EY/59gAk/LZiQysNgzimty1WnCR6Vv32LfUpMN7DxM3hnQSj8jAxGD Xref: csiph.com comp.lang.javascript:29959 Ben Bacarisse wrote: > He's saying that there are sometimes cookies "on the server" -- > specifically they are sent there every time a client makes a request for > which a cookie is relevant. In fact, only cookie *names* and *values* are sent with every HTTP request that applies to their “domain”, “path” and “secure” attributes, unless they have expired (as specified by the “expires” attribute in a former HTTP response header “Set-Cookie” field value or in the value assigned to the document.cookie property). > Where are they while the server is using them if not "on the server"? Still stored on the client machine. Cookies are data (stored in local files) only whose *names* and *values* are incorporated into a HTTP request header “Cookie” field value. > It's a small point, but it's not wrong. Yes, it is. -- PointedEars FAQ: | SVN: Twitter: @PointedEars2 | ES Matrix: Please do not cc me. / Bitte keine Kopien per E-Mail.