<%
''Session("s_main") = Timer()&"@s_main"
Response.Write "<br>1."&Session("s_main")
Response.Write "<br>2."&Session("s_inn")
''Response.Cookies("cGroup1")("c_main") = Timer()&"@c_main" ''赋值
Response.Write "<br>3."&Request.Cookies("cGroup1")("c_main")
Response.Write "<br>4."&Request.Cookies("cGroup1")("c_inn")
%>
<br />
<iframe src="/app2/go.asp"></iframe>
<br />
Asp操作Cookies(设置[赋值]、读取、删除[设置过期时间])<br />
Response.Cookies("letwego")("visiter")="84ww" ''赋值<br />
Response.Cookies("letwego").Expires= (now()+7) ''设置过期时间(7天)<br />
userName=Request.Cookies("letwego")("visiter") ''取Cookies<br />
Response.Cookies("letwego").Expires= (now()-1) ''删除Cookies,设置过期时间(-1天)