Created
February 5, 2015 19:02
-
-
Save devdays/d9ff437fe6f907e7e32b to your computer and use it in GitHub Desktop.
Redis SessionState provider in XML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<sessionState mode="Custom" customProvider="MySessionStateStore"> | |
<providers> | |
<add name="MySessionStateStore" | |
host = "127.0.0.1" [String] | |
port = "" [number] | |
accessKey = "" [String] | |
ssl = "false" [true|false] | |
throwOnError = "true" [true|false] | |
retryTimeoutInMilliseconds = "0" [number] | |
databaseId = "0" [number] | |
applicationName = "" [String] | |
connectionTimeoutInMilliseconds = "5000" [number] | |
operationTimeoutInMilliseconds = "5000" [number] | |
/> | |
<add name="MySessionStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider" host="127.0.0.1" accessKey="" ssl="false" /> | |
</providers> | |
</sessionState> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment