22847 Posts in 9589 Topics by 2802 members
General questions about getting started with SilverStripe that don't fit in any of the categories above.
|Go to End|
30 October 2013 at 9:23pm Last edited: 30 October 2013 9:23pm
I'm working on a webapp using Silverstripe 3.1 where users can signup and login. I use the memberprofiles module for it.
I noticed that when a user is logged in, if he is inactive for a certain time (around 10 min or so) he is automatically logged out. I would like to disable this, so that the user stays logged in forever as long as he has the page open.
Any ideas which settings I should disable to accomplish this?
4 November 2013 at 7:05pm
Session timeouts are standard. If you want to keep the users session active, you can follow what the CMS does and do an AJAX query to ping a given URL. Userforms also does this to prevent form timeouts.
4 November 2013 at 11:42pm
Thanks Willr. This helps me a lot. It was really not clear to me where to look.
What exactly causes then the log out of the user? Is it because when the session times out logout is explicitly called somewhere or is it rather an effect of the garbage collection?
|Go to Top|