SessionStateMode 列舉

定義

指定工作階段狀態模式。Specifies the session-state mode.

public enum class SessionStateMode
public enum SessionStateMode
type SessionStateMode = 
Public Enum SessionStateMode
繼承
SessionStateMode

欄位

Custom 4

工作階段狀態使用自訂的資料存放區,儲存工作階段狀態資訊。Session state is using a custom data store to store session-state information.

InProc 1

工作階段狀態與 ASP.NET 背景工作處理序在處理中。Session state is in process with an ASP.NET worker process.

Off 0

工作階段狀態被暫止。Session state is disabled.

SQLServer 3

工作階段狀態使用跨處理序 (Out-Of-Process) SQL Server 資料庫,儲存狀態資訊。Session state is using an out-of-process SQL Server database to store state information.

StateServer 2

工作階段狀態使用跨處理序 ASP.NET State Service,儲存狀態資訊。Session state is using the out-of-process ASP.NET State Service to store state information.

範例

會話狀態模式是在設定檔中設定。The session-state mode is set in the configuration file.

適用於