> I guesss the cookie is tied to the domain it receives (if you access a site
> using Internet explorer with the IP address and get a cookie and then
> access
> it again but this time type the DNS , the browser will not send the
> cookie).
>

Agreed, but that's slightly different that what I'm doing. That scenario
would be analogous for using an IP in the Host header.


> if you add a view results tree listener and check the Set-Cookie you
> receive
> does it have a domain?
>

It does. It's the exact same as the Host I'm requesting

domain=.beta.mysite.com

That would make sense, since it's Apache setting the cookie and it knows
which vhost I requested. More importantly, it's the exact same cookie domain
and path if I use the server IP or name. It appears the cookie manager won't
*send* it if I'm using the IP. Perhaps it's using the server name as the key
and not the Host header?


> Also if you dont add a host header and just request using IP address what
> happens?
>

Won't work because I have the site configured as a virtual host. It must get
that Host header to know which host/docroot I want.

Reply via email to