Hi Jon,

> I've read up on this a bit, and it seems that I should be 
> able to do this:
> 
> $ENV{'EMBPERL_SESSION_HANDLER_CLASS'} = 'no';
> 
> In my CGI or at least set the environment variable for apache 
> and put this is my httpd.conf
> 
> PassEnv EMBPERL_SESSION_HANDLER_CLASS
> 
> Neither of these work. I understand that putting the 
> following in my httpd.conf should work assuming that I've 
> loaded mod_embperl & mod_perl:
> 
> EMBPERL_SESSION_HANDLER_CLASS no
> 
> However, *I don't have mod_perl*. Is there any way to turn 
> this message off without mod_perl?

If you're definitely not running under mod_perl (or Apache::Registry
etc) then does putting the the environment setting in a BEGIN block
help?

ie
BEGIN {
  $ENV{'EMBPERL_SESSION_HANDLER_CLASS'} = 'no';
}

...
use Embperl;
...

My only worry would be making sure you are definitely not running in an
environment that is caching any module compilations.

There are several example cgi handlers that come with the Embperl
distribution - it would be worth your while to have a look at these to
see how Embperl recommends you pass things like this through.

Cheers,

Andrew


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to