in reply to Re^2: HTTP Post read response , Post again
in thread HTTP Post read response , Post again

Looks like it. Any sample code to begin with? Will I be able to handle Java Session using IOR?
  • Comment on Re^3: HTTP Post read response , Post again

Replies are listed 'Best First'.
Re^4: HTTP Post read response , Post again
by gwadej (Chaplain) on Dec 19, 2008 at 18:02 UTC

    It looks like you can either create an HTTP::Cookies object and pass it to the user agent object:

    require HTTP::Cookies; my $cookie_jar = HTTP::Cookies->new( file => 'cookies.txt, ); $ua->cookie_jar( $cookie_jar );

    or default to a temporary in-memory cookie jar with

    $ua->cookie_jar( {} );

    See HTTP::Cookies and LWP::UserAgent for more details.

    G. Wade