Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS

Extending CMS Login Session Time


3 Posts   717 Views


18 August 2014 at 10:08am (Last edited: 18 August 2014 11:11am), Community Member, 115 Posts

Howdy Silverstripers,

Here is my solution to do this from 2012, however - is there a "proper" way to do this?

Want to set the session time out to more than what it currently is based on the users activity.



18 August 2014 at 10:48am Community Member, 42 Posts

For the latest version of SilverStripe you can set the Session timeout via the config system and there is also a set_timeout method on Session but this method will be deprecated fairly soon.
The best way would be to do this would be via the yml config.


There is also a discussion about this on Stackoverflow which makes a good point about the CMS system pinging every 5 minutes to keep the session alive (won't affect the front end users)



18 August 2014 at 10:55am Community Member, 115 Posts

Thanks Kirk