Re: cookies on multiple ports
Gisle Aas (gisle@aas.no)
04 Nov 1999 13:42:11 +0100
David Barrowman <barrowma@netscape.com> writes:
> I am writing a simple client app with LWP which needs to access web
> servers on the the same domain but on different ports (80 and 443). I
> want the same cookie set to be passed, regardless of which port I am
> accessing. Is there a way to enable such behavior in the UserAgent
> object?
Yes, the HTTP::Cookies support this. If the port attribute is not set
then the cookie will be sent to any port on the given host. The port
attribute can also be a list of port numbers.
How do you collect your cookies?
Regards,
Gisle