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 ?)
> 

Yes, the closure problem should create the problem more often.

If it happens so seldom, it really might be a problem of generating session
ids.

Apache::Session generates the id by doing a md5 hash on a random number
(time () . {} . Rand() . $$) , maybe there are situation where it generates
the same id (also this should normaly not happen).

Are you able to log something like a username and the session id in a
seperate file and then it would be possible to see if two users have the
same id.

Gerald



> 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_refe
> rence.html
> >>
> >>>#my___Scoped_Variable_in_Nested_Subroutines
> >>>
> >>>Andre
> >>>
> >>
> >>
> >>------------------------------------------------------------
> ---------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> > 
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 


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

Reply via email to