protected void Page_Load(object sender, EventArgs e) { // 初始化保存当前在线用户的信息的datatable. DataTableForCurrentOnlineUser _onlinetable = new DataTableForCurrentOnlineUser(); if (this.Session["Ticket"] != null) { // 登出. _onlinetable.Logout(this.Session["Ticket"].ToString()); this.Session.Clear(); } }
protected void Page_Load(object sender, EventArgs e) { // Initialize the datatable which used to store the information // of current online user. DataTableForCurrentOnlineUser _onlinetable = new DataTableForCurrentOnlineUser(); if (this.Session["Ticket"] != null) { // Log out. _onlinetable.Logout(this.Session["Ticket"].ToString()); this.Session.Clear(); } }