Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- S P Arif Sahari Wibowo
January 15, 2007, 8:25 pm
rate this thread
I am developing a CGI application (using CGI module), which upon
processing (when user submit) will contact a second httpd server using
The issue is, I need to forward some cookies (authentication cookies) -
that the application receievd - to the second server. I know
LWP::UserAgent use HTTP::Cookies to represent it cookie jar, but I
cannot find out how I can inject a new cookie into the jar, especially
when the cookie came from a CGI application.
Any ideas how I can do this? Can I somehow inject "raw_cookie" from CGI
directly into LWP::UserAgent?
- Mumia W. (NOSPAM)
January 16, 2007, 8:33 am
Re: CGI & LWP::UserAgent - forwarding cookies - how?
On 01/15/2007 02:25 PM, S P Arif Sahari Wibowo wrote:
(Followups set to comp.lang.perl.misc)
Without seeing any code, all I can suggest is that you create a cookie
jar, add the desired cookie to it using the set_cookie method and attach
the cookie jar to an LWP::UserAgent object using LWP::UserAgent's
Posting Guidelines for comp.lang.perl.misc:
Windows Vista and your freedom in conflict: