62,074
社区成员
发帖
与我相关
我的任务
分享
//这是你写的权限类
public class PageAuthorityAdmin : Page
{
protected override void OnInit(EventArgs e)
{
//这是你调用判断权限的方法
Page_Admin();
}
public void Page_Admin()
{
//这是你准备 判断session或cookie 然后确定是否有访问权限
}
}
//然后我们在页面后台继承
public partial class Groupsadmin : PageAuthorityAdmin
{
}