Re: no cookie on redirect : mod_auth_tkt2

2005-08-14 Thread James Smith
Marc, You will need to get the cookie sent back to the browser, if you redirect to a URL with no domain in it - Apache "cleverly" notices this and performs the second request without going back to the browser. To force return to the browser include the domain in the URL $r->headers_out->set( Lo

Re: is there a templating system that....

2005-08-14 Thread jonathan vanasco
I messed around with Templating systems all weekend, and picked a winner Petal I wanted to go as simple as possible, and with the help of the list narrowed it down to: HTML::Tree HTML::Template Text::TagTemplate Petal HTML tree did exactly what I wanted it to, except I reme

Re: web application speed problem with OO modules

2005-08-14 Thread Badai Aqrandista
Thanks for replying... I have done some profiling with Apache::DProfile, and this is the output of 'dprofpp tmon.out': Total Elapsed Time = 160.2141 Seconds User+System Time = 13.07412 Seconds Exclusive Times %Time ExclSec CumulS #Calls sec/call Csec/c Name 92.7 12.12 13.575 1 12.1

Re: web application speed problem with OO modules

2005-08-14 Thread Philip M. Gollucci
(I only try to improve the speed of the code, so the use of proxy shouldn't be relevant here - I think, I could be wrong). You might try using Apache::DProf and/or Apache::SmallProf available here to see where your code is spending its time http://search.cpan.org/~fwiles/Apache-DB

web application speed problem with OO modules

2005-08-14 Thread Badai Aqrandista
Hi all, I'm new to the list and I have a question related to mod_perl... I have tried my best to solve the problem, but failed... So I turn to you guys... I'm currently in the process of optimizing a my company's web application that I've rewritten almost from scratch for 4 months. The older

Re: [mp2] strange behavior of script under heavy load

2005-08-14 Thread Bjoern Hoehrmann
* Bjoern Hoehrmann wrote: >>The test input I'm using should yield in 102 reported errors. >>Under normal load, only 94 errors are reported (the last 8 errors >>are missing), under heavy load, sometimes, 102 erors are reported. > >I could track this down to input like > > > ... > >This should res

Re: [mp2] strange behavior of script under heavy load

2005-08-14 Thread Bjoern Hoehrmann
* Bjoern Hoehrmann wrote: >This is what HTML::Template would generate for the request if no >parameters are set. Parameters should be set though and this is >the output even if the corresponding print() is commented out, so >this output is a bit strange and unexpected. Again, this happens >only und

no cookie on redirect : mod_auth_tkt2

2005-08-14 Thread Marc Lambrichs
I'm trying to build a mp2 handler to login using mod_auth_tkt2. I like the idea of probing if the client can support cookies, so tried to rebuild it. According to the cgi example there is some problem with setting the cookie on a redirect. The same problem - no probe cookie is set during the re

ANNOUCE: Embperl 2.0.0 final release

2005-08-14 Thread Gerald Richter
The URL ftp://ftp.dev.ecos.de/pub/perl/embperl/Embperl-2.0.0.tar.gz has entered CPAN as file: $CPAN/authors/id/G/GR/GRICHTER/Embperl-2.0.0.tar.gz size: 655012 bytes md5: 60e1e6903e2605023fea7a0748be38f7 I am happy to announce the final release of Embperl 2.0.0! Embperl 2.0.0 contain