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>
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!