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.
45 lines
1.1 KiB
C#
45 lines
1.1 KiB
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 PageBase : System.Web.UI.Page
|
|
{
|
|
public void VolidatePageBase()
|
|
{
|
|
}
|
|
|
|
protected override void OnLoad(EventArgs e)
|
|
{
|
|
if (HttpContext.Current.Session["USERID"] == null)
|
|
{
|
|
if (Request.Cookies["DSUSERID"] != null)
|
|
{
|
|
string cookieUserID = Request.Cookies["DSUSERID"].Value;
|
|
|
|
UserLoginStatusEntity userLoginStatusEntity = new UserLoginStatusEntity();
|
|
|
|
//查看是否当前登录用户是否是时效内重新登录的用户
|
|
|
|
|
|
}
|
|
else
|
|
{
|
|
Response.Redirect("login.aspx");
|
|
Response.End();
|
|
}
|
|
}
|
|
base.OnLoad(e);
|
|
}
|
|
}
|
|
}
|