On 11-02-03 3:22 PM, Ben wrote:
To make sure, I'm understanding this right, if the web browser to open
to the SOGo page, magic AJAX kungfu will reset the c_lastseen every
few minutes (ish) regardless of user input. Now, I have a cron job
that deletes stale entries:
DELETE FROM sogo_sessions_folder WHERE extract('epoch' from
current_timestamp)-c_lastseen > 30*60
What this does is remove sessions that have been improperly closed. As
in, I log in to sogo and then close my sogo tab without logging out.
If I want to close sessions where the web browser is open, but the
user isn't using it, currently I cannot. But unlike before, if the
web browser doesn't delete the cooking and/or close the session, when
a user goes back to the sogo url, they will not be logged in from
previous session.
Did I get that right?
Yes.
--
Ludovic Marcotte
[email protected] :: +1.514.755.3630 :: www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
(www.packetfence.org)
--
[email protected]
https://inverse.ca/sogo/lists