protected void Session_End(object sender, EventArgs e) { GMUser user = (GMUser)Session["user"]; if (user != null) { user.exitLogin(); user = null; } }