1.撼雪噴雲之顯示Cookie
<TABLE BORDER="2">
<Thead>
<TH>Cookie名</TH>
<TH>Cookie值</TH>
<TH>刪除Cookie</TH>
</Thead>
<%
Dim Item
%>
<tr>
<td><% = Item %></td>
<td><% = Request.Cookies(Item) %></td>
<td><A HREF="Cookie_process.asp?name=<%=
Server.URLEncode(Item) %>">刪除</A></td>
' 循環檢查,收集Request.Cookies裡的每一個Cookie並顯示出來.
</tr>
<%
Next
%>
</TABLE>
2.撼雪噴雲之添加Cookie
<FORM ACTION="Cookie_process.asp" METHOD="get">
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
<tr>
<td>Cookie名:</td>
<td>Cookie值:</td>
<td></td>
</tr>
<tr>
<td><INPUT TYPE="text" NAME="name"></INPUT></td>
<td><INPUT TYPE="text" NAME="value"></INPUT></td>
<td><INPUT TYPE="submit" VALUE="添加"></td>
</tr>
</TABLE>
</FORM>