perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject RE: Reading post data from separate handlers
Date Thu, 16 Feb 2006 15:27:40 GMT
Hi,

> 
> I have a problem that hopefully somebody has encountered or 
> can point me in the right direction.
> 
> We use the latest embperl 1.xxx release on linux. I have 
> created a handler to do authentication before the embperl 
> handler is run. This new handler needs to read data from the 
> post each request. However once read is called on the Apache 
> object you cannot call it again. This in turns cripples 
> embperl because it no longer has the post data. Is there any 
> way to be able to read the post data from multiple handlers?
> 

Since you use Embperl 1, I guess you use Apache 1.3, where no filter chain
exists.

In this case you cannot read the postdata twice. You need to read the data
in your first handler and pass it over to Embperl.

Gerald


 
** Virus checked by BB-5000 Mailfilter ** 


Mime
View raw message