Index: trunk/kernel/units/general/inp_ses_storage.php =================================================================== diff -u -N -r3884 -r3887 --- trunk/kernel/units/general/inp_ses_storage.php (.../inp_ses_storage.php) (revision 3884) +++ trunk/kernel/units/general/inp_ses_storage.php (.../inp_ses_storage.php) (revision 3887) @@ -72,7 +72,7 @@ function StoreSession(&$session, $additional_fields = Array()) { - $fields_hash = Array( 'PortalUserId' => -2, // Guest + $fields_hash = Array( 'PortalUserId' => $this->Application->IsAdmin() ? 0 : -2, // Guest 'Language' => $this->Application->GetDefaultLanguageId(), 'Theme' => $this->Application->GetDefaultThemeId(), 'IpAddress' => $_SERVER['REMOTE_ADDR'],