Hello,

I had a proplem with session concurrency (PDOSessionStorage) so I check
symfony code (sf1.2). I found out something weird :

The sfConfigFactoryHandler always defined the auto_shutdown as false. So by
default the sfUser::construct does not register the
register_shutdown_function. Look fine for me.

Now the sfContext::shutdown called the sfUser::shutdown method too, so

   - if the (sfUser) auto_shutdown is defined as false, the context method
   call the user shutdown method
   - if the (sfUser) auto_shutdown is defined as true, the context method
   call the user shutdown method _BUT_ the method is called twice as the
   sfUser::construct also register the callback method.

The shutdown method should be called only once, and maybe not at the end of
the request in order to limit session concurrency.

Any thoughts ?

--
Thomas Rabaix
Internet Consultant

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to