Gabor Urban wrote: > Rob Dixon wrote: > > Gabor Urban wrote: > > > Hi guys, > > > > > > I know, this problem is slightly offtopic on this list. I am > > > submitting multiple HTTP POST requests to Apache. The first request > > > gets handled properly, but from the second one Apache logs incorrect > > > header. The funny point is, that I am submitting the very same request > > > more than once. > > > > > > I thought to have some timing isseus, so I have added 20 seconds sleep > > > in my sript. No result. If I send the requests separately, everything > > > is fine. > > > > > > Any ideas? Any further links to read on? > > > > Hi Gabor. Which country is 'hu'. I know I can look it up, but > > I'd like you to tell me! > > The hu domain is Hungary on the Continent (I mean Europe :-)) ), and I > am a Budapest resident, which is our capital ....
Of course - I should have thought of Hungary! I've been to Austria, Poland and the Czech Republic, but never Hungary. > > > > An idea, and some questions: > > > > - Either the server or the client is retaining a context somehow. > > > > - Is this a client Perl script that is making the submissions? > > > > - Does your script run continuously, or do you restart it for each access? > > > > The client is a Perl script, which generates both the HTTP header and > the request body in a Perl sub. All header variables are local in the > sub defined as 'my' . I call this sub in a loop, and my Perl script > does run coninuously. Then it's hard to guess what's wrong without seeing your code. Are you using LWP to converse with the HTTP server? That should make things fairly fool-proof. Another thought - have you got use strict; use warnings; in place? Using strict 'vars' will force you to declare all your variables, otherwise you could be using an undeclared global variable by mistake which will retain the data from previous messages. Post some code and we'll take a look. Cheers, Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]