using framework_business;
using framework_library;
using System;
using System.Reflection;
public partial class Administration : System.Web.UI.MasterPage
{
///
/// Page Load
///
///
///
protected void Page_Load(object sender, EventArgs e)
{
try
{
if (!utils.verifySession("user"))
Response.Redirect("/admin", false);
}
catch (Exception ex)
{
exception.HandleException("Master:", MethodBase.GetCurrentMethod().Name, ex, Session["user"]);
Response.Redirect("/error", false);
}
}
///
/// Search button
///
///
///
protected void btnSearch_Click(object sender, EventArgs e)
{
try
{
}
catch (Exception ex)
{
exception.HandleException("Master:", MethodBase.GetCurrentMethod().Name, ex, Session["user"]);
Response.Redirect("/error", false);
}
}
///
/// Close Button
///
///
///
protected void btnClose_Click(object sender, EventArgs e)
{
try
{
Response.Redirect(Request.Url.AbsoluteUri.Split('?')[0], false);
}
catch (Exception ex)
{
exception.HandleException("Master:", MethodBase.GetCurrentMethod().Name, ex, Session["user"]);
Response.Redirect("/error", false);
}
}
///
/// Logout
///
///
///
protected void lnkLogOut_Click(object sender, EventArgs e)
{
try
{
Session["user"] = null;
Response.Redirect("/admin", false);
}
catch (Exception ex)
{
exception.HandleException("Master:", MethodBase.GetCurrentMethod().Name, ex, Session["user"]);
Response.Redirect("/error", false);
}
}
}