I am dealing with one scenario where Ideal user need to get logout after 15min from SuiteCRM. How we can do it?
The logout is controlled by the session cookies. This gives a number of options:
- You could change your session.gc_maxlifetime = 900 Obviously this would then affect all sites on the server.
- You could potentially override the default session.gc_maxlifetime in your .htaccess. Will need appropriate allow override in the site configuration.
- You could have cron check the sessions folder ever minute and delete any session files over 15 minutes old. (find /path/to/session/folder -type f -name ‘sess*’ -mmin +15 -delete > > /dev/null 2>&1) should do the trick
However, dashlets and other ajax based elements can continue to update sessions without user intervention, so I’m not 100% sure that this would work in all cases, however it’s the best option that I can see. Anyone else have any ideas?