On Mon, 29 Aug 2005, The Saltydog wrote:

I will guess that a cookie is being set by javascript, which would explai 
nwhy it fails in lwp but works in a browser.  If you read through the 
source code and find what they set, or find it from a header sniffer like 
httpliveheaders plugin for mozilla, you can set them manually.

$agent->cookie_jar()->set_cookie(1, "cookieMissing", "valueI 
snaggedOffPageManually", "/", 
"foo.com");

matt

 On 29 Aug 2005 03:38:34 -0700, Gisle Aas <[EMAIL PROTECTED]> wrote:
 > Try to set up the $ua with:
 > 
 >   $ua = LWP::UserAgent->new(keep_alive => 1);
 
 
 Thanks! Now the connection is Keep-Alive, as from the web.
 Unfortunately, still doesn't work, so I will investigate more..
 

-- 
gedanken

Reply via email to