I am using Sitecore 9.3 in Azure with Identity server. Content authors requested to increase their session timeout so that they can continue adding/editing content without interruptions.
I have seen many articles as specified below.
- Sitecore session timeout
- How do I set session timeouts in Sitecore?
- Modifying session timeout for content authors not working
- https://sbhatiablogs.wordpress.com/2023/02/23/how-to-change-sitecore-identity-server-logout-time/
..and implemented all the changes as specified. But none of them seems to work for me :(
The below is the list of changes i tried (Testing the timeout for 24 hours).
IdentityServer
<Authentication>
<!-- Sets the identity server cookie lifetime -->
<CookieLifetime>0.23:59:59</CookieLifetime>
</Authentication>
<Clients><DefaultClient>
….
<IdentityTokenLifetimeInSeconds>86399</IdentityTokenLifetimeInSeconds>
….
</DefaultClient></Clients>
CM Server
a. Sitecore.Setting.Authentication.config
<setting name="Authentication.ClientSessionTimeout" value="1440" role:require="Standalone or ContentManagement"/>
b. Sitecore.Owin.Authentication.config
<processor name="CookieAuthentication" type="Sitecore.Owin.Authentication.Pipelines.Initialize.CookieAuthentication, Sitecore.Owin.Authentication" resolve="true" patch:source="Owin.Authentication.config">
<ExpireTimeSpan>0:23:59:59</ExpireTimeSpan>
</processor>
Web.Config
<authentication mode="None">
<forms name=".ASPXAUTH" cookieless="UseCookies" timeout="1440" />
</authentication>
Note: These changes are working great in a standalone installation but not working in Azure.
Any ideas/suggestions to fix this?