Re: Adding Cookie to HTTP::Header

Gisle Aas (gisle@activestate.com)
07 Nov 2000 13:39:52 -0800


Leah_Wojcik@amsinc.com writes:

> I would like to add a Set-Cookie header to a HTTP::Headers object.  However, the
> Set-Cookie header is not one of the acceptable arguments for HTTP::Header.(ie
> content_type,title, etc) How can I add a cookie?  I would like to not use the
> cookie jar, because the cookie is created and set in the script, not received
> from another.

$h->header("Set-Cookie", "...")

Regards,
Gisle