Session Timeout

Posted by Community Admin on 03-Aug-2018 09:25

Session Timeout

All Replies

Posted by Community Admin on 23-Nov-2011 00:00

In Sitefinity Version 4.3, my session would time out if there was no activity 2 hours.

i want change 2 hours to 30 minutes.

i add this code in web.config .but it not work. does i make some mistakes?   or  how i can change it ?

<
authentication mode="Forms">
    <
forms name=".ASPNET" loginUrl="~/sitefinity/login.aspx" protection="All" timeout="30" path="/"/>
</
authentication>



thanks 

Posted by Community Admin on 25-Nov-2011 00:00

Hi Wei,

You can change the session timeout settings by navigating to Administration -> Settings -> Advanced -> Security and change the value of the following fields:

AuthCookieTimeoutDescription
BackendUsersSessionTimeoutDescription


to whatever you want.

Kind regards,
Victor Velev
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 28-Nov-2011 00:00

it worked . thanks very much!

Posted by Community Admin on 17-Jul-2014 00:00

dd

Posted by Community Admin on 08-Jun-2015 00:00

Hi,

If I set this BackendUsersSessionTimeout under in "Sitefinity Administration -> Settings -> Advanced -> Security" menu it works well in my application.

How can I get the value of this session timeout value to write into my application screen?

I have try to write the "Session.Timeout" variable but I get constantly 20 minutes even if I set "BackendUsersSessionTimeout" to 1 minutes.

Posted by Community Admin on 10-Jun-2015 00:00

Hi Nagy,

This setting is available and could be get from the SecurityConfig file. To do you can use the following code snippet:

using Telerik.Sitefinity.Configuration;
using Telerik.Sitefinity.Security.Configuration;
...
var conf = Config.Get<SecurityConfig>();
var sessionTimeout = conf.BackendUsersSessionTimeout;

Regards,
Svetoslav Manchev
Telerik
 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

Posted by Community Admin on 10-Jun-2015 00:00

Hi,

Your example is very useful and works well!

Thank you so much!

 

 

 

This thread is closed