When posting your 'request', the next parameter after the request is a tag to identify the request as you asked. It comes in as $request_packet->[1]
I've modified my example, so take a look again at #3. David ---------- Original Message ----------- From: "michael vernersen" <[EMAIL PROTECTED]> To: "David Davis" <[EMAIL PROTECTED]> Sent: Thu, 5 Feb 2004 07:43:07 +0100 Subject: Re: Eksemple on http post instead of http get. > Hi David... > > Thanks for you example , it helped me very much , and hopefully also > others. > > I have one more questions..... > > How do i one more variable to > > $kernel->post( "ua" => "request", "got_response", $request ); > > So i could use it in > > sub got_response { > > my ( $heap, $request_packet, $response_packet ) = @_[ HEAP, ARG0, > ARG1 ]; > > Tried to put on the fourth parameters , but it undef when > got_response is called... > > I need a unique identifier so i know which post-job had finished.... > > Thanks in advance.... > > Regards , Michael Denmark. > > > > ----- Original Message ----- > From: "David Davis" <[EMAIL PROTECTED]> > Newsgroups: perl.poe > To: "Michael" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Wednesday, February 04, 2004 7:52 PM > Subject: Re: Eksemple on http post instead of http get. > > > Sure! > > I've done this before. > > I'll make one and put it at the bottom as example 3. > > > > David > > ---------- Original Message ----------- > > From: "Michael" <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > > Sent: Wed, 4 Feb 2004 17:23:58 +0100 > > Subject: Eksemple on http post instead of http get. > > > > > Does anyone have an example on a http post instead > > > of the http-get > > > > > > in the following example... > > > > > > http://poe.perl.org/?POE_Cookbook/Web_Client > > > > > > Example 2: Multiple requests in a single session. > > > > > > regards Michael. > > ------- End of Original Message ------- > > ------- End of Original Message -------