pulizia codice
This commit is contained in:
+1
-20
@@ -67,26 +67,7 @@
|
||||
</httpModules>
|
||||
<sessionState mode="Custom" customProvider="MySessionStateStore">
|
||||
<providers>
|
||||
<!-- For more details check https://github.com/Azure/aspnet-redis-providers/wiki --><!-- Either use 'connectionString' OR 'settingsClassName' and 'settingsMethodName' OR use 'host','port','accessKey','ssl','connectionTimeoutInMilliseconds' and 'operationTimeoutInMilliseconds'. --><!-- 'throwOnError','retryTimeoutInMilliseconds','databaseId' and 'applicationName' can be used with both options. --><!--
|
||||
<add name="MySessionStateStore"
|
||||
host = "127.0.0.1" [String]
|
||||
port = "" [number]
|
||||
accessKey = "" [String]
|
||||
ssl = "false" [true|false]
|
||||
throwOnError = "true" [true|false]
|
||||
retryTimeoutInMilliseconds = "5000" [number]
|
||||
databaseId = "0" [number]
|
||||
applicationName = "" [String]
|
||||
connectionTimeoutInMilliseconds = "5000" [number]
|
||||
operationTimeoutInMilliseconds = "1000" [number]
|
||||
connectionString = "<Valid StackExchange.Redis connection string>" [String]
|
||||
settingsClassName = "<Assembly qualified class name that contains settings method specified below. Which basically return 'connectionString' value>" [String]
|
||||
settingsMethodName = "<Settings method should be defined in settingsClass. It should be public, static, does not take any parameters and should have a return type of 'String', which is basically 'connectionString' value.>" [String]
|
||||
loggingClassName = "<Assembly qualified class name that contains logging method specified below>" [String]
|
||||
loggingMethodName = "<Logging method should be defined in loggingClass. It should be public, static, does not take any parameters and should have a return type of System.IO.TextWriter.>" [String]
|
||||
redisSerializerType = "<Assembly qualified class name that implements Microsoft.Web.Redis.ISerializer>" [String]
|
||||
/>
|
||||
--><add name="MySessionStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider" host="127.0.0.1" accessKey="" ssl="false" applicationName="MP_SITE" databaseId="1" />
|
||||
<add name="MySessionStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider" host="127.0.0.1" accessKey="" ssl="false" applicationName="MP_SITE" databaseId="1" />
|
||||
</providers>
|
||||
</sessionState>
|
||||
</system.web>
|
||||
|
||||
Reference in New Issue
Block a user