diff --git a/phpgwapi/inc/class.egw_sharing.inc.php b/phpgwapi/inc/class.egw_sharing.inc.php index a1b15b1f8f..b08c90b760 100644 --- a/phpgwapi/inc/class.egw_sharing.inc.php +++ b/phpgwapi/inc/class.egw_sharing.inc.php @@ -256,7 +256,8 @@ class egw_sharing if ($keep_session === false && $GLOBALS['egw']->sharing->use_filemanager() || is_null($keep_session)) { // create session without checking auth: create(..., false, false) - if (!($sessionid = $GLOBALS['egw']->session->create('anonymous', '', 'text', false, false))) + if (!($sessionid = $GLOBALS['egw']->session->create('anonymous@'.$GLOBALS['egw_info']['user']['domain'], + '', 'text', false, false))) { sleep(1); $status = '500 Internal Server Error';