Thanks for the replies.
I added this following line to my code.
my $ua = new LWP::UserAgent;
$ua->cookie_jar(HTTP::Cookies->new(file=>'cookies.txt',autosave=>1,ignore_discar
d=>1));
Then I can see the cookie details in cookies.txt file. The status tells me that the page is redirected to "application.cgi". But I do not see the contents of the redirected page.
AKJ.