ASP经典版-会话未清除 [英] ASP Classic - Session Not Clearing
本文介绍了ASP经典版-会话未清除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,
我正在使用ASP classic进行开发.我试图实现的概念在概念上与您在用户必须同意某项内容后才能进一步查看网站时所看到的内容相似(要求一定年龄的网站就是一个很好的例子)
用户点击我接受"链接并传递一个参数,例如... home.asp?accept = true
在此设置会话("accepted")="true"后,下一页加载
Hello,
I'm working on something in ASP classic. What I'm trying to accomplish is very similar in concept to what you would see when a user must agree to something before being allowed to further view a website (websites requiring a certain age are a good example)
So the user clicks the "I accept" link and a parameter is passed such as ...home.asp?accept=true
The next page that loads after this sets session("accepted") = "true"
如果session("firstload")== 0,然后 | |||||||
session("accepted")="true" | |||||||
会话("firstload")= 1
|