[求助]怎么防止直接从地址栏输入地址进入后台管理页面呀?
我开始学习呀?怎么防止直接从地址栏输入地址进入后台管理页面呀?(跳过登陆)谢谢!
用,session(id),session(username)限制,
if session("id")="" then
response.rederit("login.aspx")
end if
所有的后台加上这个就可以了
通过form验证,然后在 web.config里面进行设置,<location path=""><deny user="*"></location>