private void CheckIsSessionExpired()
 {
     //Handling Session Expire
     //Any other case if session expired then it must redirect to LogOut page
     if (Session["IsExpired"])
     {
         TempBLL.InsertIntotempTable(Session["abc"]);
         Responne.Redirect(SessionExpiredPage);
     }
 }
Example #2
0
 private void CheckIsSessionExpired()
 {
     //Handling Session Expire
     //Any other case if session expired then it must redirect to LogOut page
     if (Session["IsActive"] == null)
     {
         TempBLL.InsertIntotempTable("some data");
         Responne.Redirect(SessionExpiredPage);
     }
 }