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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Force Logout/ Logout after set amount of time.

Go to End

2 Posts   1281 Views


Community Member, 165 Posts

14 July 2010 at 8:01am

Is there a way to set a login timout so that a user is automatically logged out after a set amount of time?


Community Member, 181 Posts

14 July 2010 at 10:50am

have you tried Session::set_timeout()?

Not something I've had a requirement for myself but guessing that it applies to website logins and CMS logins alike.