CookieHelper Class | Helper帮助文档 |
Cookie帮助相关类
Inheritance Hierarchy
Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class CookieHelper
Public Class CookieHelper
public ref class CookieHelper
type CookieHelper = class end
The CookieHelper type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CookieHelper | Initializes a new instance of the CookieHelper class |
Methods
Name | Description | |
---|---|---|
ClearCookie |
清除指定Cookie
| |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetCookieValue |
获取指定Cookie值
| |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
SetCookie(String, String) |
添加一个Cookie(24小时过期)
| |
SetCookie(String, String, DateTime) |
添加一个Cookie
| |
ToString | (Inherited from Object.) |
See Also