System.Web.Security.CookieProtection Enumeration

Describes how information in a cookie is protected.

Syntax

public enum CookieProtection

Remarks

Documentation for this section has not yet been entered.

Members

Member NameDescription
All

Use both CookieProtection.Validation and CookieProtection.Encryption to protect the information in the cookie.

Encryption

Encrypt the information in the cookie.

None

Do not protect information in the cookie. Information in the cookie is stored in clear text and not validated when sent back to the server.

Validation

Ensure that the information in the cookie has not been altered before being sent back to the server.

Requirements

Namespace: System.Web.Security
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0