传感器识别检测系统V1
0usingSystem;usingSystem
Collections;usingSystem
Configuration;usingSystem
Data;usingSystem
SqlClient;usingSystem
Linq;usingSystem
Web;usingSystem
Security;usingSystem
UI;usingSystem
HtmlControls;usingSystem
WebControls;usingSystem
WebControls
WebParts;usingSystem
Linq;usingComponent;usingSystem
Threading;{Commonocom=newCommono();#region窗体加载protectedvoidPage_Load(objectsender,EventArgse){if(
IsPostBack){if(Session["id"]==null||Session["id"]
ToString()==""){//Response
Redirect("
/Login
aspx");Response
Write("window
parent
location
href='"+Component
ServerInfo
GetRootURI()+"/Login
aspx';");return;}if(
Purview(Session["actor_id"],"2","39")){Response
Redirect("~/authority
aspx");}if(
Purview(Session["actor_id"],"2","1