protected void Page_Load(object sender, EventArgs e) { try { if (Session[EmPId] == null) { Response.Redirect(~/Default.aspx, false); } else { Emptr = Convert.ToInt32(Session[EmPId]); } } catch (Exception ex) { } }
<sessionState timeout="50000"></sessionState>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)