为什么"If Request.Cookies("CQC_UserLev").Value Is Nothing Then"语句无效?
If Request.Cookies( "CQC_UserLev ").Value Is Nothing Then
Label1.Text = "您无权做此修改! "
Return
End If
这个无效,还是继续执行呀.....
------解决方案--------------------不太明白楼主的意思
不过应当先判断
if not Request.Cookies( "CQC_UserLev ") is nothing then
dim _cookie as httpcookie=request.cookies( "cqc-userlev ")
end if