Index: branches/RC/core/units/users/users_event_handler.php =================================================================== diff -u -N -r10433 -r10434 --- branches/RC/core/units/users/users_event_handler.php (.../users_event_handler.php) (revision 10433) +++ branches/RC/core/units/users/users_event_handler.php (.../users_event_handler.php) (revision 10434) @@ -218,6 +218,8 @@ $this->Application->StoreVar('super_admin', 1); } + $this->Application->HandleEvent($dummy, 'session-log:OnStartSession'); + $this->processLoginRedirect($event, $password); return true; } @@ -422,6 +424,8 @@ $sync_manager =& $this->Application->recallObjectP('UsersSyncronizeManager', null, Array(), 'InPortalSyncronize'); $sync_manager->performAction('LogoutUser'); + $this->Application->HandleEvent($dummy, 'session-log:OnEndSession'); + $session =& $this->Application->recallObject('Session'); $session->SetField('PortalUserId', -2); $this->Application->SetVar('u.current_id', -2);