public function actionCerrarsesion() { $_REQUEST["XTPlantillaOpcion"] = 2; XTUtils::setSession("EMPUSERID", null); XTUtils::setSession("EMPTIPONOMBRE", null); XTUtils::setSession("EMPAVATAR", null); XTUtils::setSession("EMPNOMBRE_COMPLETO", null); XTUtils::setSession("EMPKEY", null); header("Location: index.php"); }
static function Start() { session_start(); $XTWindID = XTUtils::Session("XTWindID"); if ($XTWindID == "") { $XTWindID = XTFactorySession::getGUID(); XTUtils::setSession("XTWindID", $XTWindID); //print("<script>window.name='".XTUtils::Session("XTWindID")."';window.location='index.php';</script>"); } }