主题:帮帮忙,看下,谢谢!!!
进入页面register2.asp必须经过register1.asp
register1.asp中设了一个Cookies("str")如下
<% if request.Form("submit")="同 意" then
Response.Cookies("str")="true"
response.Redirect("register2.asp")
end if %>
register2.asp的开头
<!--#include file="check.asp"-->
check.asp的内容
<%
if Request.Cookies("str")=" " then
response.Redirect("register1.asp")
else
response.Redirect("register2.asp")
end if
%>
为什么不能实现???
register1.asp中设了一个Cookies("str")如下
<% if request.Form("submit")="同 意" then
Response.Cookies("str")="true"
response.Redirect("register2.asp")
end if %>
register2.asp的开头
<!--#include file="check.asp"-->
check.asp的内容
<%
if Request.Cookies("str")=" " then
response.Redirect("register1.asp")
else
response.Redirect("register2.asp")
end if
%>
为什么不能实现???