设为首页
加入收藏
站内地图
旧版入口
当前位置:首页 > 站长学院 > 网络编程 > ASP

asp中的cookie

作者:佚名 出处:网络转载 时间:05-06 点击:

内容载入中...

例子用于接收cookies.

<!-- Cookie display table --> Cookie Name Cookie Value Delete Cookie <% Dim Item ' Loop through the cookie collection displaying each cookie we find For Each Item in Request.Cookies %> <% = Item %> <% = Request.Cookies(Item) %> ">Delete this cookie! <% Next %> <!-- Cookie adding form --> <FORM ACTION="cookie_process.asp" METHOD="get"> Cookie Name: Cookie Value: <INPUT TYPE="text" NAME="name"></INPUT> <INPUT TYPE="text" NAME="value"></INPUT> <INPUT TYPE="submit" VALUE="Add Cookie!"> </FORM>
收藏本文:
】【打印页面】【推荐给朋友】【关闭窗口

站长学院

推荐信息