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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   1350 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 Session::set_timeout()?

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