if ($Params['user_parameters_unordered']['hash_resume'] != '') {
            list($chatID, $hash) = explode('_', $Params['user_parameters_unordered']['hash_resume']);
        } elseif ($Params['user_parameters_unordered']['vid'] != '') {
            $vid = erLhcoreClassModelChatOnlineUser::fetchByVid($Params['user_parameters_unordered']['vid']);
            if ($vid !== false) {
                $chatID = $vid->chat_id;
                $checkHash = false;
            } else {
                echo json_encode(array('stored' => 'false'));
                exit;
            }
        }
    }
    try {
        if ($chatID > 0) {
            $chat = erLhcoreClassChat::getSession()->load('erLhcoreClassModelChat', $chatID);
        } else {
            $chat = false;
        }
        if (($checkHash == true && $chat !== false && $chat->hash == $hash || $checkHash == false) && (is_object($vid) || ($chat !== false && $chat->status == erLhcoreClassModelChat::STATUS_PENDING_CHAT || $chat->status == erLhcoreClassModelChat::STATUS_ACTIVE_CHAT))) {
            if (isset($_POST['data'])) {
                erLhcoreClassCoBrowse::addModifications($chat, $_POST['data'], array('base' => isset($_GET['url']) ? $_GET['url'] : ''));
            }
        }
    } catch (Exception $e) {
        print_r($e);
        // Do nothing
    }
}
echo json_encode(array('stored' => 'false'));
exit;