in reply to HTTP session Problem

The sessions are most likely implemented by some sort of cookie so you need to give your agent instance a cookie jar (see HTTP::Cookies and friends) or use WWW::Mechanize which handles that kind of thing for you.

The cake is a lie.
The cake is a lie.
The cake is a lie.

Replies are listed 'Best First'.
Re^2: HTTP session Problem
by avi_2009 (Novice) on Feb 24, 2009 at 15:40 UTC
    Hi Fletch: That was awesome. Thank you so much. I just made the following change. I hope this is going to help others in future -
    $mech = WWW::Mechanize->new( agent => 'wonderbot 1.01' );
    And used $mech to POST and GET URLs! --Avi