Re: Question about open()

2008-02-06 Thread Roberto C . Sánchez
On Wed, Feb 06, 2008 at 10:47:08PM -0500, Mag Gam wrote: > What is global.asa? > > Sorry, I am somewhat new at this... > My mistake. I am using Apache::ASP (which is built on mod_perl) for my pages. Sorry for the confusion. Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/

Re: [RFC] Apache2::DirBasedHandler

2008-02-06 Thread adam . prime
The first version of this is now on CPAN, if anyone is interested in it. Adam Quoting [EMAIL PROTECTED]: I've found myself writing similar bits of code repeatedly, and figure what i'm doing is probably common enough that something like this could have a place on CPAN. I'm mostly curious abou

Re: Question about open()

2008-02-06 Thread Mag Gam
What is global.asa? Sorry, I am somewhat new at this... On Feb 6, 2008 10:10 PM, Roberto C. Sánchez <[EMAIL PROTECTED]> wrote: > On Wed, Feb 06, 2008 at 10:06:05PM -0500, Mag Gam wrote: > > Hi All, > > > > I have been using mod_perl, and I have several perl-cgi files that use > the > > open().

Re: Question about open()

2008-02-06 Thread Roberto C . Sánchez
On Wed, Feb 06, 2008 at 10:06:05PM -0500, Mag Gam wrote: > Hi All, > > I have been using mod_perl, and I have several perl-cgi files that use the > open(). I use this function to open/include my header, footer, basically a > poor man template system. Currently, when I open a file I have to use the

Question about open()

2008-02-06 Thread Mag Gam
Hi All, I have been using mod_perl, and I have several perl-cgi files that use the open(). I use this function to open/include my header, footer, basically a poor man template system. Currently, when I open a file I have to use the absolute path (/var/www/appname/top.inc). Is it possible for me t

Re: Apache 2.2.6, mod_perl 2.0.3 msvcrt.dll start problem

2008-02-06 Thread William A. Rowe, Jr.
André Warnier wrote: I installed Apache 2.2.8, Activeperl 5.8.8.822 and mod_perl 2.0.3 from uwinnipeg. Rumor has it the prior Perl 5.8.8 from ActiveState was golden, and this 822 build introduces issues. Would you give a quick try to their immediately previous 5.8.8. release and let us know?

Solution - Saving Session State

2008-02-06 Thread brett lee
Also, the 4.10 doc writes: $session = new CGI::Session(undef, undef, {Directory=>'../tmp/sessions'}); I've tried "../tmp/sessions" and "/tmp/sessions". Have never seen anything in "../tmp/sessions" (relative to "/cgi-bin" or DOC ROOT) but I do see sessions (sometim

Apache 2.2.6, mod_perl 2.0.3 msvcrt.dll start problem

2008-02-06 Thread André Warnier
Hi. I just re-installed a Windows XP Pro SP2 station from scratch after a virus infection. I installed Apache 2.2.8, Activeperl 5.8.8.822 and mod_perl 2.0.3 from uwinnipeg. I cannot start Apache as a Service, crashes with the following message in Windows log (it's in German, but you get the dr

Re: Saving Session State

2008-02-06 Thread Perrin Harkins
On Feb 6, 2008 3:59 PM, brett lee <[EMAIL PROTECTED]> wrote: > 1. First problem is that refreshing the screen often (not always) results in > a new session being generated: > http://rt.cpan.org/Public/Bug/Display.html?id=17299 > With these failures, I can see the browser session in the filesystem

Re: Saving Session State

2008-02-06 Thread brett lee
> Have tried using CGI::Session (3.95, 4.10, 4.20) but am continually seeing two issues that appear to still be open issues with the latest (is it the final?) release. What issues are you having trouble with? Mark is one of the more responsive CPAN autho

Re: Saving Session State

2008-02-06 Thread Perrin Harkins
On Feb 6, 2008 11:52 AM, brett lee <[EMAIL PROTECTED]> wrote: > Have tried using CGI::Session (3.95, 4.10, 4.20) but am continually seeing > two issues that appear to still be open issues with the latest (is it the > final?) release. What issues are you having trouble with? Mark is one of the m

Saving Session State

2008-02-06 Thread brett lee
Hello, With some help from this board I've been able to get my project running well under ModPerl::Registry - am even using two of my own (woopie !) modules, so thanks all. Am now trying to save session state on the server; am again seeking some guidance. Have tried using CGI::Session (3.95,

Re: [MP2][QUESTION]Session and inactivity

2008-02-06 Thread titetluc titetluc
Oups I answered directly to Torsten by error Here is my answer and the reply 2008/2/6, Torsten Foertsch <[EMAIL PROTECTED]>: > > On Wed 06 Feb 2008, titetluc titetluc wrote: > > The module I am developing has to delete the cookie if it is not > refreshed > > regularly. > > The question: how can I

Re: [MP2][QUESTION]Session and inactivity

2008-02-06 Thread Torsten Foertsch
On Wed 06 Feb 2008, titetluc titetluc wrote: > The module I am developing has to delete the cookie if it is not refreshed > regularly. > The question: how can I manage this timeout inactivity ? > The best solution would be to use a mechanism where callbacks (deleting the > cookie rfom the database)

[MP2][QUESTION]Session and inactivity

2008-02-06 Thread titetluc titetluc
Hello mod_perl users, I am developing a mod_perl module (MyModule) to manage sessions/authentication. This module: - uses Apache::Session to store session-related information - is cookie-based - manages session inactivity This module could be used in the following example. PerlAu