[Fwd: Re: UserAgent->get problem]

"SHANG Yuan" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <[email protected]>
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" <[email protected]>
Date:    Sun, November 15, 2009 11:14 pm
To:      "Libwww Perl" <[email protected]>
--------------------------------------------------------------------------

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.