Hi,all.
   Although I have just fixed out the problem.Finally,I need to active 3
webpage successively.
     first,login:"theWebServer/main"
     second,toShowTimeSlot:"theWebServer/ShowTimeslot?parameters=selected"
     third,
toMakeBooking:"theWebServer/bookingRecord?parameters=selected&etc"
     The first step is a must. What puzzled me is that I have to activate
the third step by a simple access to the second webpage, although I
have every parameter needed for the third web-request. I think maybe
it writes something to the cookie during the access.




---------------------------- Original Message ----------------------------
Subject: Re: UserAgent->get problem
From:    "Keary Suska" <hieroph...@pcisys.net>
Date:    Sun, November 15, 2009 11:14 pm
To:      "Libwww Perl" <libwww@perl.org>
--------------------------------------------------------------------------

On Nov 15, 2009, at 1:29 AM, SHANG Yuan wrote:

> get the window.open "url" from the second webpage(mentioned above),paste
> it to the web-browser, and get the same failure result as I get by perl
> script. But after I have clicked the "pic.gif" in the second webpage from
> the web-browser, I re-enter the "url" of the third webpage and this time
> the browser returned just what I wanted.
> It seems that the "click" action have activated something I haven't
noticed.
>
> Have anyone here come with the similar problems before?
> Any advice will be appreciated.

Have you tried setting the "Referer" header?

HTH,

Keary Suska


Reply via email to