[snipped]
> URL=https://mn1-gx6-ib.banking.wellsfargo.com/cgi-bin/session.
> cgi?sessargs=e
> 
> I think your answer is here.
> The refresh data is passed as headers.
> Just parse the URL field out of the header and do a new request.
> 
> Hope this is what you meant.
> 
> Maarten.

Hi Maarten,

Thanks for the reply, I have tried that using:

if ( my $refresh = $req->header("Refresh") ) {

    ( undef, $final_req ) = split ( /=/, $req->header("Refresh") );
    
    $req =
      $ua->request( POST $final_req,
      { userid =>$ARGV[0], password =>$ARGV[1], 'Account Summary' =>
'ACCT_SUMMARY'  } 
      );
     
}

and I receive a web page that states: unable to process the request, what
should have been displayed is the account information. It seems that I am
unable to form a proper request. During the execution of the script I will
see many redirects. I have no idea what to respond with. 
However, If there was a way to have the useragent handle the refresh (
automatically do the refresh) then the request would be correct. 
Any Ideas?

thanks

Ron

Reply via email to