Corrected errors in Web.config.

This commit is contained in:
Daniel Stolt 2013-08-27 04:48:23 +02:00 committed by Sebastien Ros
parent ea3d926095
commit 0d8a0bfb10

View File

@ -31,14 +31,13 @@
</pages>
</system.web.webPages.razor>
<!--
Uncomment below to store session state in Windows Azure Cache.
To use the in-role flavor of Windows Azure Caching, set {CacheHostIdentifier} to be the cache cluster role name.
To use the Windows Azure Caching Service, set {CacheHostIdentifier} to be the endpoint of the cache cluster.
-->
<dataCacheClients>
<dataCacheClient name="DefaultCacheClient" useLegacyProtocol="false" connectionPool="true" maxConnectionsToServer="20">
<autoDiscover isEnabled="true" identifier="{CacheHostIdentifier}" />
<!--
To use the in-role flavor of Windows Azure Caching, set the identifier attribute to be the cache cluster role name.
To use the Windows Azure Caching Service, set the identifier attribute to be the endpoint of the cache cluster.
-->
<autoDiscover isEnabled="true" identifier="Orchard.Azure.Web" />
</dataCacheClient>
</dataCacheClients>
@ -101,10 +100,10 @@
<forms loginUrl="~/Users/Account/AccessDenied" timeout="2880" />
</authentication>
<!-- Uncomment below to store session state in Windows Azure Cache (replace {CacheName} with name of your configured cache). -->
<sessionState mode="Custom" timeout="60" customProvider="CacheSessionStateProvider">
<providers>
<add name="CacheSessionStateProvider" type="Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider, Microsoft.Web.DistributedCache" cacheName="{CacheName}" dataCacheClientName="DefaultCacheClient" applicationName="Orchard" />
<!-- Set the cacheName attribute to be the name of the configured logical cache to use for session state storage. -->
<add name="CacheSessionStateProvider" type="Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider, Microsoft.Web.DistributedCache" cacheName="SessionStateCache" dataCacheClientName="DefaultCacheClient" applicationName="Orchard" />
</providers>
</sessionState>