perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Freed <efr...@newrorad.com>
Subject RE: intermittent %udat problems
Date Mon, 15 Nov 2004 21:11:08 GMT
On Sat, 2004-11-13 at 07:39, Gerald Richter wrote:
> > ... I can log in, and 
> > look a a few pages, then I get a not-logged-in error.
>  
> 
> It looks like your session setup is not correctly setup. In this case %udat
> works as normal Hash and you only get the same data as long as you hit the
> same Apache child process.
> 

I am using MySql as the session ( via Apache::Session::MySQL) and I can
see the sessions being created in the database, so the sessions are at
least being stored there. And they are recovered as well--in fact today
I cannot reproduce the error at all. 

> How does your session setup look like?

I am on Fedora Core 2, with mod_perl-1.99, httpd-2.0.51. 

Here is some of the httpd.conf file:
LoadModule perl_module modules/mod_perl.so

LoadModule  embperl_module \
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/Embperl/Embperl.so
PerlModule Apache::DBI
PerlModule Notel::Data
PerlModule DBD::mysql
PerlModule Apache::Session::MySQL
PerlSetEnv EMBPERL_COOKIE_NAME notel
PerlSetEnv EMBPERL_LOG /var/log/embperl.log
PerlSetEnv EMBPERL_SESSION_CLASSES "MySQL Semaphore"
PerlSetEnv EMBERL_DEBUG dbgSession
PerlSetEnv EMBPERL_SESSION_ARGS
"DataSource=dbi:mysql:notel;hostname=localhost UserName=USER
Password=PASSWORD"
PerlModule Embperl

> 
> You might also enable the dbgSession flag in EMBERL_DEBUG and watch the
> embperl.log file to see what happen with your sessions.
> 

I also can't seem to get the embperl logging to work either, but that is
(I think) another problem. 

Many thanks, 

-- 
Eric Freed
IT Manager
New Rochelle Radiology
914-633-7700 x339



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message