Forum Moderators: coopster & phranque

Message Too Old, No Replies

LWP parallel problem

         

jonas79

7:45 am on Sep 2, 2005 (gmt 0)



Hi

I use LWP to collect data from several websites. On some pages I need to use multiple $ua->register(....)
This works great when i test it alone but when i connect it together with the other useragents it doesnt work. The first register works fine but the second one just doesnt generate any kind of reply, (that i can find) and the sites that only need one connection it works perfect.

The thing is that i worked great on the old server. But when i had to install everything again this problem started occuring.
So I rule out code error because it used to work and I haven't change any code.

I assume it is some sort of version problem but I am completely lost. If anybody has any idea or a guess or anything. Please tell me cause i am dying out here. My boss has been on me on this for months.

VERSION
Perl: 5.6.2
LWP: 5.64
LWP::UserAgent 2.001

I am sorry about being so vauge but I really have no clue what to do. Any help would be great.

volatilegx

1:47 pm on Sep 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi jonas79, and welcome to WebmasterWorld :)

I've never run into this problem myself. Maybe try deconstructing the user agent object before reusing it? Or maybe the new object could be created with a different name?