public partial class New_Admin_Master : System.Web.UI.MasterPage { MessageBox msg = new MessageBox(); protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { if (Session["loguname"] == null && Session["BranchId"] == null) { Response.Redirect("../Login.aspx"); msg.ShowAlertMessage("Session Expired"); } } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)