using framework_business; using framework_library; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class Admin_Products : System.Web.UI.Page { /// /// PAge Load Event /// /// /// protected void Page_Load(object sender, EventArgs e) { try { if (!utils.verifySession("user")) { Response.Redirect("/admin", false); } else { if (!Page.IsPostBack) { if (!handler.ValidatePermission(Page.AppRelativeVirtualPath)) Response.Redirect("Admin.aspx"); } } } catch (Exception ex) { exception.HandleException("Admin_Products:", MethodBase.GetCurrentMethod().Name, ex, Session["user"]); Response.Redirect("/error", false); } } }