perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject RE: Sessions get mixed up ?
Date Sat, 13 Nov 2004 12:40:57 GMT
> 
> After reading alot, I can understand why the sub's would give 
> wrong results. Why the sessions would get mixed up I do not 
> understand...
> 

That might be the case when you keep data of a previous session in a
closure.

The other possibility would be that Apache::Session generates duplicate ids
(I don't expect this, but who knows).

You might also enable the dbgSession flag in EMBERL_DEBUG and watch the
embperl.log file to see what happen with your sessions and verify that you
have unique session ids

Regards

Gerald


> /S
> 
> Andre Landwehr wrote:
> > On Wed, Nov 10, 2004 at 10:25:24PM +0100, Stefan Cars wrote:
> > 
> >>Correct, it seems that they are doing "do 'inc.pl'" alot, is there 
> >>around it or do we really need to change it to be [$ sub $] 
> instead ? 
> >>Or can we fix our subs to not close ??  Do you have any 
> URL's to this ?
> > 
> > 
> > Here is a thread from the time I had the problem, including Geralds 
> > answer.
> > http://www.gossamer-threads.com/lists/modperl/embperl/11175#11175
> > 
> > The link Gerald posted is no longer valid, but I think I found the 
> > page here:
> > 
> http://perl.apache.org/docs/general/perl_reference/perl_reference.html
> > #my___Scoped_Variable_in_Nested_Subroutines
> > 
> > Andre
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
> 
> 


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


Mime
View raw message