on 7/8/02 11:12 AM, [EMAIL PROTECTED] purportedly said: > Keary Suska <[EMAIL PROTECTED]> writes: > >> on 7/8/02 10:29 AM, [EMAIL PROTECTED] purportedly said: >> >>> Hi, >>> >>> I am testing a simple script to grab cookie. however >>> there is only one line as "#LWP-Cookies-1.0" in the >>> saved file. what's wrong? >> >> You have to tell LWP to extract cookies. It doesn't do it automatically. > > It is supposed to do it automatically as responses are returned from > $ua->simple_request. > >> The $ua->cookie_jar is *only* to have LWP automatically *send* cookies with >> a request, not to extract them. This would be a nice feature though, IMHO. > > It should do both.
Will it do both only when using simple_request(), or for any request? I thought I ran into a problem where I had to specifically extract the cookies. Perhaps it was an earlier version without this functionality. I use request::common (using get() etc). Keary Suska Esoteritech, Inc. "Leveraging Open Source for a better Internet"
