Пример #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            db.Conectar();
            db.borrarConectado(Session["usuario"].ToString());

            System.Web.Security.FormsAuthentication.SignOut();
            Session.Abandon();
            Server.Transfer("Inicio.aspx", true);
        }