my $ua = new LWP::UserAgent(timeout=>10) or die("Failed to created
UserAgent: $!");
my $cj = HTTP::Cookies->new(ignore_discard=>1,hide_cookie2=>1);
$ua->cookie_jar($cj);

Read about HTTP::Cookies and see the lwpcook book

http://search.cpan.org/~gaas/libwww-perl-5.72/lib/HTTP/Cookies.pm
http://search.cpan.org/~gaas/libwww-perl-5.72/lwpcook.pod

/B



----- Original Message ----- 
From: "Abhishek jain" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 18, 2002 13:33
Subject: Want help on libwww


Hi friends,
I want to make a programme that can send sms via web using www.sms.ac
network.(I will pay them for allowing me).I do not know how to use
libwww I downloaded a few tutorials but they were not good enough i am
having problem with the cookies . Please if anyone of you could help me
in making that program or if you could provide me with a decent
tutorial.
I shall be very grateful

Thanks,
Abhishek jain
            -----------------------------------------------
                "Think big and Play Safe"
            ------------------------------------------------

Reply via email to