Ejemplo n.º 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     GetempName = UsrAuth.GetUsrName(Session);
     if (!UsrAuth.IsLogin(Session, Request, Response))
     {
         strNoLogin = "******";
         return;
     }
     isAdmin     = UsrAuth.IsAdminister(Session) ? "1" : "0";
     isDepManage = UsrAuth.IsDepManager(Session) ? "1" : "0";
     isTopManage = UsrAuth.IsTopManager(Session) ? "1" : "0";
 }