You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
798 B
C#

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using DSWeb.Models;
using DSWeb.EntityDA;
namespace DSWeb
{
public class OpenPageBase : System.Web.UI.Page
{
protected override void OnLoad(EventArgs e)
{
if (HttpContext.Current.Session["USERID"] == null)
{
if (Request.Cookies["DSUSERID"] != null)
{
}
else
{
Response.Redirect("login.aspx");
Response.End();
}
}
base.OnLoad(e);
}
}
}