mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-01-09 11:21:04 +08:00
Removing session documentation from web.config
This only needs to be in the official documentation as it doesn't concern lots of users.
This commit is contained in:
@@ -8,11 +8,6 @@
|
||||
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false"/>
|
||||
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false"/>
|
||||
</sectionGroup>
|
||||
<!--
|
||||
Uncomment below to store session state in Windows Azure Cache Service.
|
||||
NOTE: You must add assembly references to all assemblies in lib/windowsazure before enabling.
|
||||
-->
|
||||
<!--<section name="dataCacheClients" type="Microsoft.ApplicationServer.Caching.DataCacheClientsSection, Microsoft.ApplicationServer.Caching.Core" allowLocation="true" allowDefinition="Everywhere" />-->
|
||||
</configSections>
|
||||
|
||||
<appSettings>
|
||||
@@ -36,21 +31,6 @@
|
||||
</pages>
|
||||
</system.web.webPages.razor>
|
||||
|
||||
<!--
|
||||
Uncomment below to store session state in Windows Azure Cache Service.
|
||||
Set the autoDiscover/@identifier attribute to be the endpoint of the cache cluster.
|
||||
Set the messageSecurity/@authorizationInfo to be either the primary or secondary key of your cache cluster.
|
||||
NOTE: You must add assembly references to all assemblies in lib/windowsazure before enabling.
|
||||
-->
|
||||
<!--<dataCacheClients>
|
||||
<dataCacheClient name="DefaultCacheClient" useLegacyProtocol="false" connectionPool="true" maxConnectionsToServer="20">
|
||||
<autoDiscover isEnabled="true" identifier="[clustername].cache.windows.net" />
|
||||
<securityProperties mode="Message" sslEnabled="false">
|
||||
<messageSecurity authorizationInfo="[key]"/>
|
||||
</securityProperties>
|
||||
</dataCacheClient>
|
||||
</dataCacheClients>-->
|
||||
|
||||
<!--
|
||||
Set default transaction timeout to 30 minutes so that interactive debugging
|
||||
is easier (default timeout is less than one minute).
|
||||
@@ -100,17 +80,6 @@
|
||||
<forms loginUrl="~/Users/Account/AccessDenied" timeout="2880"/>
|
||||
</authentication>
|
||||
|
||||
<!--
|
||||
Uncomment below to store session state in Windows Azure Cache Service.
|
||||
Set the add/@cacheName attribute to be the name of a configured named cache, or leave it blank to use the default cache.
|
||||
NOTE: You must add assembly references to all assemblies in lib/windowsazure before enabling.
|
||||
-->
|
||||
<!--<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" />
|
||||
</providers>
|
||||
</sessionState>-->
|
||||
|
||||
<customErrors mode="Off"/>
|
||||
|
||||
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
|
||||
|
||||
Reference in New Issue
Block a user