Exemple #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            string token = Request.Params[Constants.REQUEST_TOKEN];

            proxy.init(ConfigurationManager.ConnectionStrings["appDB"].ConnectionString);
            if (!proxy.validateToken(token))
            {
                Response.Redirect("~/AccesDenied.aspx", false);
            }
        }