Phil S said,
> On 15 Aug 1999 22:46:53 +0100, before the followup to [netconnect] Re:
> Cookies., Neil Bothwick reckoned :-
>> Only if both sites share the same domain name. A site doesn't ask the
>> browser for a cookie, the browser looks to see if there's a cookie
>> matching the page you've just requested and send sit along with the page
>> request. >
> No... it is the site's CGI script, for example - the browser is not an
> intelligent program
The Set-Cookie: header is sent by the server, to store the cookie. the
Cookie header is sent by the browser, along with the page request.
If you think about it, it has to be this way. what is the point of the
page requesting the cookie *after* the page has been loaded if the
cookie contains display preferences?
>From O'Reilly's book on the subject
"Each time a browser goes to a Web page, it checks its cookies file
for any cookies stored for that URL. If there are any, the browser
includes a cookie header in the request"
This doesn't exactly require "intelligence" on the part of the browser,
no more so than comparing the URL against an Accept/Reject Cookies list.
Neil
--
Neil Bothwick - http://www.wirenet.co.uk icq://16361788
Connected via Wirenet, The UK's first Amiga-only internet access provider
--
Why marry a virgin? If she wasn't good enough for the rest of them, then
she isn't good enough for you.
_____________________________________________________________
NetConnect mailing list. To unsubscribe, send an 'unsubcribe'
message to <[EMAIL PROTECTED]>