Remberme. asp
'User submits personal information.
<%
Response. Cookies ("information") ("name") = request. form ("name ")
Response. Cookies ("information") ("customer number") = request. form ("id ")
Response. Cookies ("information") ("from") = request. form ("from ")
......
'Define a cookie dictionary named information, you can define more, if you need.
%>
<Html>
<Head>
<Title> galaxy shadow </title>
</Head>
<Body>
<Div align = "center"> <center>
<Table border = "0" cellspacing = "0" width = "600" height = "86">
<Tr>
<Td height = "65"> <p align = "center"> <font> galaxy shadow Cookies </font> </td>
</Tr>
<Tr>
<Td align = "center" height = "62"> <form method = "post" action = "remberme. asp">
<P> <font>
Name: <input type = "text" name = "name" size = "20"> <br>
Customer id: <input type = "text" name = "id" size = "20"> <br>
From: <input type = "text" name = "nation" size = "20">
</Font> <br>
<Input type = "submit" value = "I want to query">
<Input type = "reset" value = "Rewrite">
</P>
</Form>
</Td>
</Tr>
</Table>
</Center> </div>
</Body>
Welcome. asp
'Display the content in Cookies.
<Html>
<Head>
<Title> Cookies Demo </title>
</Head>
<Body>
Name
<% = Request. Cookies ("information") ("name") %>
<P>
Customer ID
<% = Request. Cookies ("information") ("id") %>
<P>
From
<% = Request. Cookies ("information") ("from") %>
</Body>