hi!

i am trying to post some information to a search page to retrive the
result. The problem is that to reach the search page i must first pass
by the "welcome page", if i directly go to the search page i am
redirected to the welcome page, its an <a> tag that i take from the
welcome page to go to the search page and there is no variable in it, so
there is certainly a cookie that is used to keep my session alive. i had
try many thing that looks like this:

my $ua = LWP::UserAgent->new(keep_alive => 1);
$cookies_file = HTTP::Cookies->new(file =>
"/home/jonathan/.mozilla/jonathan/g8ofozx9.slt/cookies.txt");
$ua->cookie_jar($cookies_file);
$ua->request(GET $welcome_page);
$response = $ua->request(GET $search_page);

but i always get the welome page.

PLEASE PLEASE PLEASE somebody help me!







Reply via email to