protected void Application_End() { EmpresaSecurity <App_DominioContext> login = new EmpresaSecurity <App_DominioContext>(); if (System.Web.HttpContext.Current != null) { login.EncerrarSessao(System.Web.HttpContext.Current.Session.SessionID); } }
public void Session_End(object sender, EventArgs e) { EmpresaSecurity <App_DominioContext> login = new EmpresaSecurity <App_DominioContext>(); if (System.Web.HttpContext.Current != null) { login.EncerrarSessao(System.Web.HttpContext.Current.Session.SessionID); } }