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_Support : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) {// Service Desk - Dirk Strauss - 20 July 2016 - (Comment: Added page for Service Desk) try { if (!utils.verifySession("user")) { Response.Redirect("/admin", false); } else { oUser admin = (oUser)Session["user"]; oSetup _setup = handler.ReturnSetup(); //if (admin.isSetup) //{ // //verify code and license key // oLicence lic = licenceHandler.GetLicence(_setup.licenceKey); // if (lic.customerCode == _setup.code)//valid to manage support requests and tasks // { } // else // { Response.Redirect("/admin", false); } //} //else //{ Response.Redirect("/admin", false); } } } catch (Exception ex) { exception.HandleException("Admin_Content:", MethodBase.GetCurrentMethod().Name, ex, Session["user"]); Response.Redirect("/error", false); } } }