string strlogout = "logout"; //updatelogouttime(); // public void updatelogouttime() //{ Empbusinessaccesslayer obj = new Empbusinessaccesslayer(); obj.Empname = Session["Username"].ToString(); obj.Ipaddress = Session["ipaddress"].ToString(); DateTime dt = (DateTime)Session["logintime"]; obj.Createddate = Convert.ToDateTime(Session["logindate"].ToString()); obj.Jobposteddate = dt; obj.Comptypeid = int.Parse(Session["comptypeid"].ToString()); obj.Curremployer = strlogout; obj.updateuserlogout(Session["Username"].ToString(), Session["ipaddress"].ToString(), Convert.ToDateTime(Session["logindate"].ToString()), dt, int.Parse(Session["comptypeid"].ToString()), strlogout); Session["Username"] = null; Session["empname"] = null; Session["comptypeid"] = null; Session.Contents.Clear(); Session.Abandon();
window.onbeforeunload
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)