Am 21.11.2016 um 18:05 schrieb Marcus MERIGHI ([email protected]): > Hello, > > [email protected] (Christian Mack), 2016.11.21 (Mon) 16:42 (CET): >> Am 21.11.2016 um 11:57 schrieb G??tz Reinicke - IT Koordinator >> ([email protected]): >>> Hi, >>> >>> where/how set I the time out for a web session? Is that possible for >>> single users individually? >>> >> >> You set it in your sogo cron job. >> Check /etc/cron.d/sogo >> There is a line with >> "... /usr/sbin/sogo-tool expire-sessions ..." >> Normally you want to run this every minute. > > is there a guarantee the job doesn't take longer than a minute? >
No, there is no guarentee, but we have between 1000 and 3000 active sessions and it never took longer than milliseconds. It actually doesn't do that much. It only has to get the current unix timestamp, subtract the max session lifetime, then check the c_lastseen column for entries smaller than that and delete those rows. That is what databases are made for. Kind regards, Christian Mack >> The number at the end defines the time in minutes a session can exist. >> >> This works for all users. >> If you want to kill the session of one user only, you have to go to the >> session table defined by OCSSessionsFolderURL and delete the entry for >> that user by hand. >> -- Christian Mack Universität Konstanz Kommunikations-, Informations-, Medienzentrum (KIM) Abteilung Basisdienste 78457 Konstanz +49 7531 88-4416
smime.p7s
Description: S/MIME Cryptographic Signature
