예제 #1
0
 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();
     }
 }
예제 #2
0
        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();
            }
        }
예제 #3
0
        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();
            }
        }