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:

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   1284 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.