ChunkedCookieHandler 构造函数 (Int32)

Initializes a new instance of the ChunkedCookieHandler class with a specified chunk size.

命名空间: Microsoft.IdentityModel.Web
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)

用法

    Dim chunkSize As Integer

Dim instance As New ChunkedCookieHandler(chunkSize)

语法

声明
Public Sub New ( _
    chunkSize As Integer _
)
public ChunkedCookieHandler (
    int chunkSize
)
public:
ChunkedCookieHandler (
    int chunkSize
)
public ChunkedCookieHandler (
    int chunkSize
)
public function ChunkedCookieHandler (
    chunkSize : int
)

参数

  • chunkSize
     

备注

Care must be taken when adjusting the chunk size. Web browsers have different limits on the size of cookies and number domain. The original Netscape specification stipulated these limits: 300 cookies total, 4096 bytes per cookie header (including metadata, not just the cookie value), and 20 cookies per domain.

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

请参见

参考

ChunkedCookieHandler 类
ChunkedCookieHandler 成员
Microsoft.IdentityModel.Web 命名空间