Public Class CadminPage
Inherits Web.UI.Page
Sub New()
MyBase.New()
If CType(Session("op"), operator).user Is Nothing Then
Response.Redirect("frmlogin.aspx")
End If
End Sub
End Class其中"OP"是我定义的结构
Session在这里起不了作用,真是遗憾,有办法吗?
Inherits Web.UI.Page
Sub New()
MyBase.New()
If CType(Session("op"), operator).user Is Nothing Then
Response.Redirect("frmlogin.aspx")
End If
End Sub
End Class其中"OP"是我定义的结构
Session在这里起不了作用,真是遗憾,有办法吗?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货