Re: keep-alive and redirect questions

2002-10-20 Thread J,L
--- Gisle Aas <[EMAIL PROTECTED]> wrote: > "J,L" <[EMAIL PROTECTED]> writes: > > and another question is will the $resp->base > alsway > > return the current url it received ? > > It returns the base URI that is useful for resolving > r

keep-alive and redirect questions

2002-10-18 Thread J,L
Hi, something i am curious when i reading the book "http essentials". is LWP default connection to the server persistent? if i keep the instance of LWP::UserAgent after requesting a url on one server, will the connection is keep alive at this point as long as i don't fresh out the isntance very s

nph script question

2002-10-10 Thread J,L
Hi, I am posting to a form that is redirecting to a nph perl script which test if the page i submit has link problem. I got the post part working. however, when the script validating the url (print the validate information live to the page after i post the form),there is error saying "a glitch h

auto-redirect question.

2002-10-05 Thread J,L
Hi, I have problem using the requests_redirectable method from UserAgent. follow the doc,i tried my $url ='http://www.pulse24.com'; push @{ $br->requests_redirectable } 'GET'; my $req = GET ($url,@headers); $req->referer($url); my $resp = $br->request($req); print $resp->as_string;

Re: what else do i need to fool server when submiting form?

2002-10-05 Thread J,L
--- Rob Nagler <[EMAIL PROTECTED]> wrote: > J,L writes: > > i think to fool a server to fetch page,d/l files > etc, > > cookie, refer,user-agent,authentication are the > ones > > related most. or all? > > There is never a "most" in this case.

Re: what else do i need to fool server when submiting form?

2002-10-03 Thread J,L
--- Keary Suska <[EMAIL PROTECTED]> wrote: > on 10/2/02 2:43 AM, [EMAIL PROTECTED] purportedly > said: > > > i am submiting a form with LWP. i have checked the > > submission trace by using ethereal. the result i > got > > by submit manually and by script basically the > > same.(submit form elem

what else do i need to fool server when submiting form?

2002-10-02 Thread J,L
i am submiting a form with LWP. i have checked the submission trace by using ethereal. the result i got by submit manually and by script basically the same.(submit form element order different. i.e submit name=me&address=canada another is address=canada&name=me ) this doesn't make diff when i am s

how to grab the cookie set by javascript?

2002-09-03 Thread J,L
the cookie is set during a form submission. an onclick() function get to invoked and a CookieSet function is being called,cookie get created then. how do i grab the cookie in this case? here is the javascript code and form code.