codemonkey has asked for the wisdom of the Perl Monks concerning the following question:

Anyone know how to set cookie headers when making a secure url request with SSLeay? I need to pass along a users cookie when I do a backend secure post to another server. I know about $ua->cookie_jar($cookies); with LWP, but I don't think that will work with NET SSLeay..

Replies are listed 'Best First'.
Re: NET::SSLeay and cookies
by Anonymous Monk on Jan 27, 2001 at 03:21 UTC
    you can use use your cookie_jar's as_string() for the header argument (4th argument) to get_https()