invalid session cache on change of session preference, otherwise session prefs only work in login

This commit is contained in:
Ralf Becker 2006-04-05 15:17:41 +00:00
parent 00060f9551
commit 2c604b7b06

View File

@ -370,6 +370,10 @@
{
$this->session[$app_name][$var] = $this->data[$app_name][$var] = $value;
$GLOBALS['egw']->session->appsession('preferences','preferences',$this->session);
if (method_exists($GLOBALS['egw'],'invalidate_session_cache')) // egw object in setup is limited
{
$GLOBALS['egw']->invalidate_session_cache(); // in case with cache the egw_info array in the session
}
}
break;