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, biapar, Willr, Ingo, swaiba, simon_w

Force Logout/ Logout after set amount of time.


Reply


2 Posts   1029 Views

Avatar
micahsheets

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?

Avatar
TotalNet

Community Member, 181 Posts

14 July 2010 at 10:50am

have you tried [url=http://api.silverstripe.org/2.4/sapphire/control/Session.html#methodset_timeout]Session::set_timeout()[/url]?

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