Files

25 lines
682 B
C#
Raw Permalink Normal View History

using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Mtxfw.shop._admin
{
public partial class top : Mtxfw.Utility.AdminPage
{
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
Login_Out.Click += delegate(object s, EventArgs ex)
{
Session.Remove("MemberIdMemberId");
Mtxfw.Utility.Authentication Action = new Utility.Authentication();
Action.SignOut();
Response.Write("<script>this.parent.location.href='/a_login.aspx';</script>");
};
}
}
}