JHCookie Class

DCSoft.DBUtilityGeneric

JHCookie Class
获取或设置 Cookie 的值,该类为密封类
Inheritance Hierarchy
SystemObject  DCSoft.Utility.WebJHCookie

Namespace: DCSoft.Utility.Web
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public sealed class JHCookie

The JHCookie type exposes the following members.

Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodStatic memberGetTtype(String)
获取 Cookie 中指定键的值,已去除首尾空格并解码,如果异常或获取为 null,则返回当前类型的默认值 default(Ttype)
Public methodStatic memberGetTtype(String, Ttype)
获取 Cookie 中指定键的值,已去除首尾空格并解码
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberSet(String, String)
设置 Cookie 的值,该 value 值会被去除首尾空格并编码后写入 Cookie
Public methodStatic memberSet(String, String, NullableDateTime)
设置 Cookie 的值,该 value 值会被去除首尾空格并编码后写入 Cookie
Public methodToString (Inherited from Object.)
Top
See Also