Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: Embperl

Session

 

 

ModPerl embperl RSS feed   Index | Next | Previous | View Threaded


soltan at mycopa

Jun 30, 2011, 2:39 PM

Post #1 of 2 (726 views)
Permalink
Session

Hi,

I am using Embperl 2.4 on Linux and I disabled the session by setting
PerlSetEnv EMBPERL_SESSION_HANDLER_CLASS no
in perl.conf. It works fine, but I have some Perl modules which are not
working properly under mod_perl, in this case I have to use cgi scripts
and I am getting frequently the message "Can't locate Apache/SessionX.pm
in @INC ..." in error log.

Is there a way to get rid of this message.

Thank you

Soltan


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe [at] perl
For additional commands, e-mail: embperl-help [at] perl


zefonseca at gmail

Jun 30, 2011, 4:58 PM

Post #2 of 2 (694 views)
Permalink
Re: Session [In reply to]

Hi, it seems to me like those modules first require Apache::SessionX at
BEGIN time and only check for the state of EMBPERL_SESSION_HANDLER_CLASS at
runtime - so you'd still need to install Apache::SessionX even if you have
session handling disabled. Installing the modules does not mean it'll get
used, but I could be wrong, this is just a wilde guess two cents worth.
Regards,
Ze Fonseca

On Thu, Jun 30, 2011 at 6:39 PM, Soltan Safavi <soltan [at] mycopa> wrote:

> Hi,
>
> I am using Embperl 2.4 on Linux and I disabled the session by setting
> PerlSetEnv EMBPERL_SESSION_HANDLER_CLASS no
> in perl.conf. It works fine, but I have some Perl modules which are not
> working properly under mod_perl, in this case I have to use cgi scripts
> and I am getting frequently the message "Can't locate Apache/SessionX.pm in
> @INC ..." in error log.
>
> Is there a way to get rid of this message.
>
> Thank you
>
> Soltan
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: embperl-unsubscribe [at] perl**apache.org<embperl-unsubscribe [at] perl>
> For additional commands, e-mail: embperl-help [at] perl
>
>

ModPerl embperl RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.