Share via


CookieTempDataProviderOptions Class

Definition

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.

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 null.

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 null, the "path" attribute on the cookie is set to the current request's PathBase value. If the value of PathBase is null or empty, then the "path" attribute is set to the value of Path.

Applies to