CookieTempDataProviderOptions Class
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.
Provides programmatic configuration for cookies set by CookieTempDataProvider
public ref class CookieTempDataProviderOptions
public class CookieTempDataProviderOptions
type CookieTempDataProviderOptions = class
Public Class CookieTempDataProviderOptions
- Inheritance
-
CookieTempDataProviderOptions
Constructors
| CookieTempDataProviderOptions() |
Properties
| Cookie |
Determines the settings used to create the cookie in CookieTempDataProvider.
SameSite defaults to Lax. Setting this to
Strict may cause browsers to not send back the cookie to the server in an
OAuth login flow.
SecurePolicy defaults to SameAsRequest.
HttpOnly defaults to |
| CookieName |
Obsolete.
This property is obsolete and will be removed in a future version. The recommended alternative is on Cookie. The name of the cookie which stores TempData. Defaults to CookieName. |
| Domain |
Obsolete.
This property is obsolete and will be removed in a future version. The recommended alternative is on Cookie.
The domain set on a cookie. Defaults to |
| Path |
Obsolete.
This property is obsolete and will be removed in a future version. The recommended alternative is on Cookie.
The path set on the cookie. If set to |