Is anyone capable of explaining ?
phd at phd.pp.ru
Wed Feb 6 07:28:03 EST 2002
On Wed, Feb 06, 2002 at 07:16:47AM -0500, Scherer, Bill wrote:
> > Question: How does web browser know what cookies should be
> > sent to server as a response?
> The browser determines which cookies to include with a request by
> comparing the domain of the server it is about to contact with
> the domain of the cookies. I didn't see any domain in the
> cookies you are setting; there should be one.
This is true only partially. If you omit "domain" part of the cookie the
browaser will store current server's domain.
> The template http cookie header:
> Set-Cookie: name=value; expires=date; path=pathname; domain=domainname
this is not neccessary
Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-list