On Tuesday 05 February 2002 11:07, Robin Berjon wrote: > On Tuesday 05 February 2002 16:59, [EMAIL PROTECTED] wrote: > > my problem: > > lets says, I have a xml file and a xslt file which generates a html > > formular via axkit. when the user fills in the form and clicks on > > "submit" how can I acces the paramters (the form data)?? > > do I have to use the mod_perl api? > > Yes, you use the mod_perl api. It's easy really. Just grab a > Apache->request object abd you'll be done. In XSLT you can also use > xsl:param, but in Perl code the mod_perl API is really what's best. > > > by the way. the provides has to make a "fork" in order to be able to > > always listen on the tcp port. according to a document I read about > > performance tuning for mod_perl using fork is not recommend because > > mod_perl processes are so big. any experience with such a scenario? > > Why do you need to fork to listen? True, it usually is a bad idea to fork > from a modperl process, especially if all processes do it all the time. You > can do it, but you'd need a good reason to need it imho.
I think what he's saying is that he wants to submit a request to middleware, which may take arbitrary time, and in the mean time continue processing the page request. In these cases you are better off using CGI. You can write a SMALL CGI program and fork THAT. Or you can use system() to create a completely different (and much lighter weight) process. system() is slower in that it has to create a new process context, but the overall effect is likely to be better. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
