using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace MYAPP.Manage
{
    public partial class logout : MyApp.Web.UI.PublicPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //db.RunCommand_ExecuteNonQuery("update [user].User_Info set UI_Online=0 where User_ID=" + MyApp.Components.Authorization.User.Get_UserID());
            //db.Dispose();
            MyApp.Components.Authorization.User.ClearCookie();
            Response.Redirect("/");
        }
    }
}
