Exemplo n.º 1
0
        protected void Session_End(object sender, EventArgs e)
        {
            Session.Remove("lanDangNhap");
            UsersDataContext db = new UsersDataContext();

            db.sp_SetOffline(Session.GetCurrentUserID());
            Session.RemoveAll();
        }