>>  I thought the browser then resends the cookie on every consecutive
>> request to the domain/path specified by the initial "set-cookie"  
>> http header from the server

> This doesn't happen automatically, in your page you've got to ask for
> it.

It does happen automatically. By the time, e.g. PHP looks at $_COOKIE,
the  data  has  already  been  transmitted  to the web server with the
request. Unless you mean something else by "ask for it"....

["When  it sends a request to an origin server, the user agent sends a
Cookie  request header to the origin server if it has cookies that are
applicable  to the request based on the request-host, the request-URI,
[and] the cookie's age." (RFC 2109)]

-- Sandy


Reply via email to