繁体中文
设为首页
加入收藏
当前位置:.Net技术首页 >> Asp.Net开发 >> .net beta2 操作cookie的例子(转)

.net beta2 操作cookie的例子(转)

2007-04-15 08:00:00  作者:  来源:互联网  浏览次数:0  文字大小:【】【】【
简介: Const COOKIE_NAME As String = "test-cookie-name" Const COOKIE_VALUE As String = "test-cookie-value" ' Declare our cookie object Dim objCookieObject As HttpCookie Sub btnSetCookie_OnClick(Sender...
关键字:.net 例子 cookie beta2

<%@ Page Language="VB" %>

The cookie name we're using for this sample is: <%= COOKIE_NAME %>

To see the cookie's current status you'll need to click below. This is because the response which adds or deletes the cookie happens after the request is already done. As such, those changes aren't available from the request collection until the next request.

Details of:

Property Value
Name
Value
Expires
Domain
Path
Secure
Has Keys

----------------------------------------------------

come from ASP101.com

责任编辑:admin
相关文章