Tusar K. Nayak wrote:

> Hi,
> 
> I want to access to a site which allows me to post
> data only after logging in.. The login information are
> stored in cookies. How can i get the cookie while
> login(first request) and then send this cookie while
> making the second request?
> 

Use a cookie_jar

e.g.

$ua->cookie_jar(HTTP::Cookies->new(file => "lwpcookies.txt"));


-- 
Francis Turner, CIO Juelich Enzyme Products Gmbh
http://www.juelich-enzyme.com/ +49-173-291-7278

In just two days, tomorrow will be yesterday.


Reply via email to