Share via


CookieHandler Members

[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.]

Provides an abstract base class for managing HTTP client state or "cookies".

The following tables list the members exposed by the CookieHandler type.

Protected Constructors

  Name Description
  CookieHandler Initializes a new instance of CookieHandler.

Top

Public Properties

  Name Description
public property Domain Gets or sets the domain used for cookies.
public property HideFromClientScript Gets or sets a value indicating whether the cookie should be hidden from client script.
public property Name Gets or sets the name used for cookies.
public property Path Gets or sets the path used for cookies.
public property PersistentSessionLifetime The lifetime of persistent sessions. If Zero, transient sessions are always used.
public property RequireSsl Gets or sets a value indicating whether the cookie should be sent over insecure connections.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Delete Overloaded.  
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method Read Overloaded.  
public method ToString  (Inherited from Object)
public method Write Overloaded.  

Top

Protected Methods

  Name Description
protected method DeleteCore When overridden in a derived class, deletes a cookie.
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)
protected method ReadCore When overridden in a derived class, reads a cookie.
protected method WriteCore When overridden in a derived class, writes a cookie.

Top

See Also

Reference

CookieHandler Class
Microsoft.IdentityModel.Web Namespace

Copyright © 2008 by Microsoft Corporation. All rights reserved.