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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Extending CMS Login Session Time

Go to End

3 Posts   1992 Views


Community Member, 116 Posts

18 August 2014 at 10:08am

Edited: 18/08/2014 11:11am

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.



Community Member, 67 Posts

18 August 2014 at 10:48am

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)


Community Member, 116 Posts

18 August 2014 at 10:55am

Thanks Kirk