Index: branches/5.0.x/core/kernel/session/inp_session.php =================================================================== diff -u -r12369 -r12399 --- branches/5.0.x/core/kernel/session/inp_session.php (.../inp_session.php) (revision 12369) +++ branches/5.0.x/core/kernel/session/inp_session.php (.../inp_session.php) (revision 12399) @@ -1,6 +1,6 @@ $this->Application->IsAdmin() ? 0 : -2, // Guest 'Language' => $this->Application->GetDefaultLanguageId(), 'Theme' => $this->Application->GetDefaultThemeId(), - 'IpAddress' => $_SERVER['REMOTE_ADDR'], + 'IpAddress' => $_SERVER['REMOTE_ADDR'], // getenv('REMOTE_ADDR') won't work on IIS, so use $_SERVER instead 'GroupId' => $this->Application->ConfigValue('User_GuestGroup'), 'GroupList' => $this->Application->ConfigValue('User_GuestGroup'), - 'CurrentTempKey'=> $session->SID, ); parent::StoreSession($session, $fields_hash);