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 Fri, 03 Dec 2004 18:40:30 GMT
Unfortunately, the problem has returned. This is how it has been all
along, I do something and the problem seems to goes away, but after a
while it returns. (Maybe that is a clue...right after restarting apache,
there is not a problem). This time I set the cookie path, but no luck. 

On a side note, I still can't get the embperl log to work. 

Here is the relevant part of the http.conf:

PerlSetEnv EMBPERL_COOKIE_NAME notel
PerlSetEnv EMBPERL_COOKIE_PATH /
PerlSetEnv EMBPERL_LOG /var/log/embperl.log
PerlSetEnv EMBPERL_SESSION_CLASSES "MySQL Semaphore"
PerlSetEnv EMBERL_DEBUG 0x200000

PerlSetEnv EMBPERL_SESSION_ARGS
"DataSource=dbi:mysql:notel;hostname=localhost UserName=name
Password=****"
PerlModule Embperl

Many thanks

Eric

On Tue, 2004-11-16 at 05:53 +0100, Gerald Richter wrote:
> > 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. 
> > 
> 
> Maybe it is just a problem of the COOKIE PATH, try to add
> 
> EMBPERL_COOKIE_PATH /
> 
> This causes the browser to send back the cookie to every location of your
> server and only beneath the directory it was sent.
> 
> > PerlSetEnv EMBERL_DEBUG dbgSession
> 
> Needs to be 
> 
> PerlSetEnv EMBERL_DEBUG 0x200000
> 
> Sorry, only numbers are supported yet
> 
> Gerald
> 
> 
> 


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


Mime
View raw message