zoukankan      html  css  js  c++  java
  • ASP.NET web.config 配置里部分参数详细说明

    Session配置

          <!--
                <identity
                    impersonate = "false" [true|false]
                    userName = "" [String]
                    password = "" [String]
                />
            -->
            <identity impersonate="false" userName="" password="" />
            <!--
                <machineKey
                    validationKey = "AutoGenerate,IsolateApps" [String]
                    decryptionKey = "AutoGenerate,IsolateApps" [String]
                    decryption = "Auto" [AUTO | DES | 3DES | AES]
                    validation = "HMACSHA256" [MD5 | SHA1 | 3DES | AES | HMACSHA256 | HMACSHA384 | HMACSHA512 | alg:algorithm_name]
                />
            -->
            <machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" validation="HMACSHA256" decryption="Auto" compatibilityMode="Framework20SP1" dataProtectorType="" applicationName="" />
            <!--
                <sessionPageState
                    historySize = "9" [number]
                />
            -->
            <sessionPageState historySize="9" />
            <!--
                <sessionState
                    mode = "InProc" [Off | InProc | StateServer | SQLServer | Custom]
                    stateConnectionString = "tcpip=loopback:42424" [String]
                    stateNetworkTimeout = "10" [in Seconds][number]
                    sqlConnectionString = "data source=localhost;Integrated Security=SSPI" [String]
                    sqlCommandTimeout = "30" [in Seconds][number]
                    sqlConnectionRetryInterval = "0" [in Seconds][number]
                    customProvider = "" [String]
                    cookieless = "" [UseUri | UseCookies | AutoDetect | UseDeviceProfile]
                    cookieName = "ASP.NET_SessionId" [String]
                    timeout = "20" [in Minutes][number]
                    allowCustomSqlDatabase = "false" [true|false]
                    compressionEnabled = "false" [true|false]
                    regenerateExpiredSessionId = "true" [true|false]
                    partitionResolverType = "" [String]
                    useHostingIdentity = "true" [true|false]
                    sessionIDManagerType = "" [String]
                    >
                    <providers>
                        <add
                            name = "" [String, Required, Collection Key]
                            type = "" [String, Required]
                        />
                    </providers>
    
                </sessionState>
            -->
            <sessionState mode="InProc" stateConnectionString="tcpip=loopback:42424" stateNetworkTimeout="10" sqlConnectionString="data source=localhost;Integrated Security=SSPI" sqlCommandTimeout="30" sqlConnectionRetryInterval="0" customProvider="" cookieless="UseCookies" cookieName="ASP.NET_SessionId" timeout="20" allowCustomSqlDatabase="false" compressionEnabled="false" regenerateExpiredSessionId="true" partitionResolverType="" useHostingIdentity="true" sessionIDManagerType="">
                <providers>
                    <clear />
                </providers>
            </sessionState>
    

      

      身份验证和授权

  • 相关阅读:
    iOS之在AppDelegate中push到指定页面
    iOS之iOS中的(null)、<null>、 nil 的问题
    HTML表格属性及简单实例
    iOS多语言设置
    HTML简单介绍
    iOS-WebView(WKWebView)进度条
    OC 中property的使用
    Memory map of an object array
    2018-10-15 21:07:38 c language
    2018-10-15 00:41:45 c language
  • 原文地址:https://www.cnblogs.com/mqingqing123/p/11870478.html
Copyright © 2011-2022 走看看