?? submitconsolve.asp
字號:
<! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html140/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>Server Page!</title>
<%
if Request("rememberMe")<>""then
dim strname
strname=Request("personName")
Response.Cookies("name")=strname //設置客戶端Cookie
Response.Cookies("name").expires="1/1/2008" //有效期至2008-1-1
dim stremail
stremail=Request("personEmail")
Response.Cookies("email")=stremail //設置客戶端Cookie
Response.Cookies("email").expires="1/1/2008" //有效期至2008-1-1
Response.write("服務器成功為客戶端設置Cookies。")
else
Response.write Request.Cookies("name")&",歡迎光臨本站!" //讀取客戶端Cookie
end if
%>
</head>
<body>
<br>
<center>
</center>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -