CookieAuthenticationOptions.SessionStore 属性

定义

一个可选容器,每次请求后将在该容器中存储标识。 如果使用,则只将会话标识符发送到客户端。 这可用于缓解由于标识过大而造成的潜在问题。

public:
 property Microsoft::AspNetCore::Authentication::Cookies::ITicketStore ^ SessionStore { Microsoft::AspNetCore::Authentication::Cookies::ITicketStore ^ get(); void set(Microsoft::AspNetCore::Authentication::Cookies::ITicketStore ^ value); };
public Microsoft.AspNetCore.Authentication.Cookies.ITicketStore SessionStore { get; set; }
member this.SessionStore : Microsoft.AspNetCore.Authentication.Cookies.ITicketStore with get, set
Public Property SessionStore As ITicketStore

属性值

适用于