protected string GetVisitCode()
        {
            SessionInfo session = AppInfo.GetAppInfo().OsContext.Session;

            if (session["osIsNewVisit"] != null && ((bool)session["osIsNewVisit"])
                // && !NetworkInterfaceUtils.IsLoopbackAddress(Request.UserHostAddress)
                && RuntimePlatformUtils.IsValidRequestForVisit())
            {
                return("<script type=\"text/javascript\">outsystems.internal.$.get(\"/ContactManager/_status.aspx\")</script>");
            }
            return("");
        }