Re: reinitializing Perl's notion of $$ in mod_perl

2008-04-16 Thread Philippe M. Chiasson
Mark Blackman wrote: On 16 Apr 2008, at 10:24, Mark Blackman wrote: On 16 Apr 2008, at 08:42, Philippe M. Chiasson wrote: Can you try this simple patch and see if it makes your troubles go away. It does indeed have the desired effect of getting $$ reset to the child pid by the time the PerlCh

Session handling

2008-04-16 Thread Tracy12
Hi, for session handling we use CGI:Session cpan distribution, we do use local file for cookie storage, eventhough the session time out is 30, sometimes the set information in the session get lost before that, has anybody experience this before. We do have a cron job to clear the session data,

Re: Access to Server and Request objects under Registry

2008-04-16 Thread Philippe M. Chiasson
Artem Kuchin wrote: Hello! Is there any way to access server and request objects when script is running under Registry? # From the top-level my $r = shift; OR # PerlOptions +GlobalRequest # Apache2::RequestUtil (http://perl.apache.org/docs/2.0/api/Apache2/RequestUtil.html#C_request_) use Apa

Re: Access to Server and Request objects under Registry

2008-04-16 Thread adam . prime
my $r = shift; at the top of your file running under registry should work. You can also use Apache->request in mp1, or Apache2::RequestUtil->request in mp2 (if you're using the prefork mpm) Adam Quoting Artem Kuchin <[EMAIL PROTECTED]>: Hello! Is there any way to access server and requ

RE: [RELEASE CANDIDATE] mod_perl-2.0.4 RC1

2008-04-16 Thread Thomas
Tested on: Windows 2003 R2 32 bit Activestate perl build 822 ASF Apache 2.2.8 With: Visual C express 2005. To successfully build you need to make manifest files for httpd.exe and perl.exe After all this is done: Two tests fail: t\modperl\setauth...

Access to Server and Request objects under Registry

2008-04-16 Thread Artem Kuchin
Hello! Is there any way to access server and request objects when script is running under Registry? -- Regards, Artem

Re: Accessing CSS,JS and other files

2008-04-16 Thread Dileep Eduri
It worked...:jumping: Thank you... Michael Peters wrote: > > Dileep Eduri wrote: > >> When I searched thru' forums, came to know abt the section, which >> I >> can use. But still after studying the documentation, I could not write a >> proper section. > > You don't need to use a section.

Re: reinitializing Perl's notion of $$ in mod_perl

2008-04-16 Thread Mark Blackman
On 16 Apr 2008, at 10:24, Mark Blackman wrote: On 16 Apr 2008, at 08:42, Philippe M. Chiasson wrote: Can you try this simple patch and see if it makes your troubles go away. It does indeed have the desired effect of getting $$ reset to the child pid by the time the PerlChildInitHandler ha

Re: reinitializing Perl's notion of $$ in mod_perl

2008-04-16 Thread Mark Blackman
On 16 Apr 2008, at 08:42, Philippe M. Chiasson wrote: Can you try this simple patch and see if it makes your troubles go away. It does indeed have the desired effect of getting $$ reset to the child pid by the time the PerlChildInitHandler handler is called. - Mark Index: src/modules/p

Re: reinitializing Perl's notion of $$ in mod_perl

2008-04-16 Thread Philippe M. Chiasson
Mark Blackman wrote: On 15 Apr 2008, at 13:51, Mark Blackman wrote: While I did find Torsten Förtsch's very useful Perl::AfterFork module, surely the mod_perl code must be doing something like this itself, no? I'd be grateful to understand mod_perl's response to Perl's pid caching is, given