Skip to content

Instantly share code, notes, and snippets.

@devdays
Created February 5, 2015 19:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devdays/d9ff437fe6f907e7e32b to your computer and use it in GitHub Desktop.
Save devdays/d9ff437fe6f907e7e32b to your computer and use it in GitHub Desktop.
Redis SessionState provider in XML
<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