Partager via


Constructeur ChunkedCookieHandler (Int32)

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

Espace de noms: Microsoft.IdentityModel.Web
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)

Utilisation

    Dim chunkSize As Integer

Dim instance As New ChunkedCookieHandler(chunkSize)

Syntaxe

'Déclaration
Public Sub New ( _
    chunkSize As Integer _
)
public ChunkedCookieHandler (
    int chunkSize
)
public:
ChunkedCookieHandler (
    int chunkSize
)
public ChunkedCookieHandler (
    int chunkSize
)
public function ChunkedCookieHandler (
    chunkSize : int
)

Paramètres

  • chunkSize
     

Remarques

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.

Plateformes

Plateformes de développement

Windows Server 2003, Windows Vista

Target Platforms

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

Voir aussi

Référence

Classe ChunkedCookieHandler
Membres ChunkedCookieHandler
Espace de noms Microsoft.IdentityModel.Web