HttpOnlyPolicy Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes the HttpOnly behavior for cookies.
public enum class HttpOnlyPolicy
public enum HttpOnlyPolicy
type HttpOnlyPolicy =
Public Enum HttpOnlyPolicy
- Inheritance
-
HttpOnlyPolicy
Fields
Name | Value | Description |
---|---|---|
None | 0 | The cookie does not have a configured HttpOnly behavior. This cookie can be accessed by
JavaScript |
Always | 1 | The cookie is configured with a HttpOnly attribute. This cookie inaccessible to the
JavaScript |