Initializes a new instance of the ChunkedCookieHandler class with a specified chunk size.
Namespace: Microsoft.IdentityModel.Web
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim chunkSize As Integer

Dim instance As New ChunkedCookieHandler(chunkSize)

Syntax

Visual Basic
Public Sub New ( _
		chunkSize As Integer _
)
C#
public ChunkedCookieHandler (
		int chunkSize
)
C++
public:
ChunkedCookieHandler (
		int chunkSize
)
J#
public ChunkedCookieHandler (
		int chunkSize
)
JScript
public function ChunkedCookieHandler (
		chunkSize : int
)

Parameters

chunkSize

Remarks

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.


Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also