Re: MP1 -> MP2 migration Problems.

2008-02-14 Thread Randy Kobes
On Thu, 14 Feb 2008, Perrin Harkins wrote: On Wed, Feb 13, 2008 at 3:08 PM, Petry Roman, IT <[EMAIL PROTECTED]> wrote: Looks ok i think. Apache.pm is loaded.. So why can´t i get it to work.. damn thing 8-). This is starting to look like a bug in Apache2::compat to me. I think request() is

Re: MP1 -> MP2 migration Problems.

2008-02-14 Thread Perrin Harkins
On Wed, Feb 13, 2008 at 3:08 PM, Petry Roman, IT <[EMAIL PROTECTED]> wrote: > Looks ok i think. Apache.pm is loaded.. So why can´t i get it to work.. damn > thing 8-). This is starting to look like a bug in Apache2::compat to me. I think request() is defined in the wrong namespace. I'll try to

Re: [MP2][QUESTION]Session and inactivity

2008-02-14 Thread Jonathan Vanasco
On Feb 14, 2008, at 2:01 AM, titetluc titetluc wrote: There were multiple suggestions that worked through the sort of callback solution you describe: mod_auth_tkt, CHI, storing a timestamp in the session (as opposed to in a separate column in the sessions database table), Apache::SessionManager.

Re: MP1 -> MP2 migration Problems.

2008-02-14 Thread Perrin Harkins
On Thu, Feb 14, 2008 at 9:13 AM, Rafael Caceres <[EMAIL PROTECTED]> wrote: > This is the first time that NOT using "use" because it was preloaded is > mentioned. In fact, how would the modules compile (while testing for > example)? Modules loaded into the perl interpreter at startup are still t

Re: MP1 -> MP2 migration Problems.

2008-02-14 Thread Malcolm
On Thursday 14 February 2008 09:13:41 am Rafael Caceres wrote: > On Wed, 2008-02-13 at 23:00 +0100, André Warnier wrote: > > Of course, what I forgot to mention below - and sorry if you know that > > already - is that whichever perl modules you pre-load in your main > > Apache server config via th

Re: handler using a module

2008-02-14 Thread Malcolm
On Thursday 14 February 2008 08:33:34 am Raymond Wan wrote: > So in an HTML file that will be processed by Mason, I call "myFunction > ()" and it says it is undefined. This surprised me since I indicated > that I am using myOwnFunctions in the handler with the "use" directive. > Is that not the w

Re: [MP2][QUESTION]Session and inactivity

2008-02-14 Thread Perrin Harkins
On Thu, Feb 14, 2008 at 2:01 AM, titetluc titetluc <[EMAIL PROTECTED]> wrote: > All of these modules propose an expiration mechanism, but they do not > propose a mechanism to automatically destroy session at expiration (this is > what I call a "callback" mechanism). > This implies that the session

Re: handler using a module

2008-02-14 Thread Raymond Wan
Hi Marcel, Marcel Greter wrote: I can only tell why myHandler::myFunction () is working. I think you export the myFunction in Module myOwnFunctions. I assume you didn't post that part of the code? Ah, yes -- I didn't think that was doing it but yes, I also have: require Exporter; our @ISA

Re: MP1 -> MP2 migration Problems.

2008-02-14 Thread Rafael Caceres
Andre, On Wed, 2008-02-13 at 23:00 +0100, André Warnier wrote: > Of course, what I forgot to mention below - and sorry if you know that > already - is that whichever perl modules you pre-load in your main > Apache server config via the startup.pl script, you do not need to "use" > anymore in al

AW: MP1 -> MP2 migration Problems.

2008-02-14 Thread Petry Roman, IT
Hello again, i did a new setup of our Apache and mod_perl2 with your hint´s.. Configured again some startup.pl stuff. but no luck 8-) Error is still the same in error.log from apache. [Thu Feb 14 14:33:58 2008] [error] [Thu Feb 14 14:33:58 2008] -e: Can't locate object method "request" via pac

handler using a module

2008-02-14 Thread Raymond Wan
Hi all, I have written a handler to take care of requests and there is something unexpected [to me, anyway :-) ] happening which may be my fault, but I was wondering if someone can explain it to me. Perhaps there is a problem with my programming style. The code is long, so I'll briefly men