perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Cars <ste...@snowfall.se>
Subject Re: Sessions get mixed up ?
Date Mon, 15 Nov 2004 11:24:57 GMT
Hi!

The problem is that this happens maybe once or twice a month (we have 
about 10-15 thousands login per day). So it's really hard to reproduce, 
and as far as I understand wouldn't the closure problem create this 
problem more often ?)

Kind Regards,
Stefan Cars

Gerald Richter wrote:
>>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

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


Mime
View raw message