• 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>
    

      

      身份验证和授权

  • 相关阅读:
    sed命令
    awk命令
    let命令
    首先看一下友晶DE-SOC开发板的user manual
    嵌入式FIFO核的调用
    嵌入式ROM核的调用
    用嵌入式块RAM IP核配置一个双口RAM
    如何利用Visio设计一个系统的结构图
    uart通讯协议
    按键消抖试验及一个数码管电子时钟的设计
  • 原文地址:https://www.cnblogs.com/mqingqing123/p/11870478.html
Copyright © 2020-2023  润新知