Remberme.asp
' user submits personal information .
<%
Response. Cookies ("Information") (" names ") =request.form ( "name")
Response. Cookies ("Information") (" customer number ") =request.form ("id" )
Response. Cookies ("Information") (" from ") =request.form ( "from" )
......
' define a cookie dictionary called Information , and you can define more if you need it .
%>
<title> Galaxy Shadow </title>
<body>
<div align= "center" ><center>
<table border= "0" cellspacing= "0" width= "height=" >
<tr>
<TD height= "><p" align= "center" ><font> the cookie application of the star of the Galaxy </font></td>
</tr>
<tr>
<TD align= "center" height= "><form method=" post "action=" remberme.asp ">
<p><font>
Name : <input type= "text" name= "name" size= "> <br>
customer number : <input type= "text" name= "id" size= "> <br>
From : <input type= "text" name= "Nation" size= "> "
</font><br>
<input type= "Submit" value= " I want to inquire " >
<input type= "reset" value= " rewrite " >
</p>
</form>
</td>
</tr>
</table>
</center></div>
</body>
Welcome.asp
' show the contents of Cookies .
<title>cookies demo</title>
<body>
Name
<%=request. Cookies ("Information") ("name")%>
<p>
Customer number
<%=request. Cookies ("Information") ("id")%>
<p>
From
<%=request. Cookies ("Information") ("from")%>
</body>