Esempio n. 1
0
        protected void ScanInputData()
        {
            string strErrorPage = "default.aspx?redirect=kiosksearch";

            if (Request.QueryString["ConfID"] != null)
            {
                if (!InputValidation.ContentNumVal(Request.QueryString["ConfID"].Trim()))
                {
                    Response.Redirect(strErrorPage, true);
                }
            }

            if (Request.QueryString["CancerType"] != null)
            {
                if (!InputValidation.ContentNumVal(Request.QueryString["CancerType"].Trim()))
                {
                    Response.Redirect(strErrorPage, true);
                }
            }

            if (Request.QueryString["Subject"] != null)
            {
                if (!InputValidation.ContentNumVal(Request.QueryString["Subject"].Trim()))
                {
                    Response.Redirect(strErrorPage, true);
                }
            }

            if (Request.QueryString["Audience"] != null)
            {
                if (!InputValidation.ContentNumVal(Request.QueryString["Audience"].Trim()))
                {
                    Response.Redirect(strErrorPage, true);
                }
            }

            if (Request.QueryString["ProductFormat"] != null)
            {
                if (!InputValidation.ContentNumVal(Request.QueryString["ProductFormat"].Trim()))
                {
                    Response.Redirect(strErrorPage, true);
                }
            }

            if (Request.QueryString["Series"] != null)
            {
                if (!InputValidation.ContentNumVal(Request.QueryString["Series"].Trim()))
                {
                    Response.Redirect(strErrorPage, true);
                }
            }

            if (Request.QueryString["Languages"] != null)
            {
                if (!InputValidation.ContentNumVal(Request.QueryString["Languages"].Trim()))
                {
                    Response.Redirect(strErrorPage, true);
                }
            }
        }
Esempio n. 2
0
        protected void ScanInputData()
        {
            string strErrorPage = "default.aspx?redirect=location";

            if (Request.QueryString["ConfID"] != null)
            {
                if (!InputValidation.ContentNumVal(Request.QueryString["ConfID"].Trim()))
                {
                    Response.Redirect(strErrorPage, true);
                }
            }
        }
Esempio n. 3
0
        protected void ScanInputData()
        {
            string strErrorPage = "default.aspx?redirect=location";

            if (Request.QueryString["ConfID"] != null)
            {
                if (!InputValidation.ContentNumVal(Request.QueryString["ConfID"].Trim()))
                {
                    Response.Redirect(strErrorPage, true);
                }
            }
            if (Request.QueryString["prodid"] == null)  //***EAC probably should validate for a valid prodid here (20130308)
            {
                Response.Redirect(strErrorPage, true);
            }
        }