<html>
<head>
<title>cookie应用实例</title>
</head>
<body>
登录页面
<% 
Dim strID
Dim strPWD
strID = Request.Cookies("userID")
strPWD = Request.Cookies("userPWD")
%>   
<form method="POST" action="lx5-3-4b.asp">
  请输入用户ID：&nbsp;
  <input type="text" name="txtID" 
  <% If Len(strID) > 0 Then Response.Write "value=" & strID %> 
  size="20"></p>
  <p>
  请输入用户密码：<input type="password" 
  <% If Len(strPWD) > 0 Then Response.Write "value=" & strPWD %> 
  name="txtPWD" size="20"></p>
  <p><input type="submit" value="确认" name="btnSubmit"> </p>
</form>
</body>
</html>