using System; using System.Collections; using System.Collections.Generic; using System.Data; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Mtxfw.VipSite._admin { public partial class Logout : Mtxfw.Utility.MemberBase { protected override void OnLoad(EventArgs e) { base.OnLoad(e); if (!IsPostBack) { int dIFStores = IFStores; Session.RemoveAll(); string RUrl = Request.Url.ToString(); Response.Cookies.Add(new HttpCookie("{RUrl}", RUrl)); Response.Cookies["{RUrl}"].Expires = DateTime.Now.AddDays(1); if (dIFStores == 1) { Response.Redirect("/gl.aspx");//gl.aspx } else { Response.Redirect("/"); } } } } }