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_ProductCategories : System.Web.UI.Page
{
///
/// Page Load
///
///
///
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_Categories:", MethodBase.GetCurrentMethod().Name, ex, Session["user"]);
Response.Redirect("/error", false);
}
}
}