3 * library/ajax/unset_session_ajax.php Clear active patient on the server side.
6 * @link https://www.open-emr.org
7 * @author Visolve <services@visolve.com>
8 * @author Brady Miller <brady.g.miller@gmail.com>
9 * @copyright Copyright (c) 2012 Visolve <services@visolve.com>
10 * @copyright Copyright (c) 2018 Brady Miller <brady.g.miller@gmail.com>
11 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
15 require_once("../../interface/globals.php");
16 require_once("../pid.inc");
17 require_once("../group.inc");
19 if (!verifyCsrfToken($_POST["csrf_token_form"])) {
23 //Setpid function is called on receiving an ajax request.
24 if (($_POST['func']=="unset_pid")) {
28 //Setpid function is called on receiving an ajax request.
29 if (($_POST['func']=="unset_gid")) {