예제 #1
0
    protected void BtnLogOut_Click(object sender, EventArgs e)
    {
        L_MasterBoardUsr logica = new L_MasterBoardUsr();
        DataTable        data   = (DataTable)Session["Sesion"];

        logica.cerrar_session_usuario(data);
        Session["Sesion"] = null;
        Response.Redirect("AboutUs.aspx");
    }
예제 #2
0
    protected void Salir_Click(object sender, EventArgs e)
    {
        L_MasterBoardUsr logica = new L_MasterBoardUsr();
        DataTable        data   = (DataTable)Session["Sesion"];

        logica.cerrar_session_usuario(data);
        Session["Sesion"] = null;
        Response.Redirect("LoginUsr.aspx");
        Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache);
    }