各位前辈你们好,我请教一个问题, 我在试做一个简单的cookies的时候出现这个问题,我运行后,填写完数据传送,他告诉我,发红的那段代码错误,请问我犯了什么错误了????????指点?
无标题文档<%
a=request.cookies("a")
if a="" then
name=""
addr=""
tel=""
else
b=split(a,",")
name=b(0)
addr=b(1)
tel=b(2)
reponse.write name &"您好"reponse.write "上次离开的时间是:"& request.cookies("c")
end if
%>
<%
dim d
d=false
for each item in request.form()
if request.form(item)=empth then
exit for
else
d=true
end if
next
if d=true then
response.cookies("a")=request("name")&","&request("addr")&","&request("tel")
response.cookies("a").expires=(date+30)
response.cookies("c")=cstr(now)
response.cookies("c").expires=(date+30)
end if
%>