View Issue Details

IDProjectCategoryView StatusLast Update
0004202SOGoWeb Mailpublic2017-06-29 11:30
Reporterrazaidlitz Assigned Toludovic  
PriorityimmediateSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Platform[Server] LinuxOSUbuntuOS Version14.04 LTS
Product Version3.2.9 
Summary0004202: client Web session refreshes every 5 min
Description

sogo has db table witch has the timestamp of first login and last seen of user session.
i have a script that should drop every session older than 30 min.
the problem is, sogo refreshes the session every 5 min.
even if im not near the computer.
after 2 days without touching the computer, the session still update itself every 5 min.

Please help me
Raz

TagsNo tags attached.

Activities

Christian Mack

Christian Mack

2017-06-19 08:23

developer   ~0011987

Is your browser running while you are away from your computer?
What have you set in "Preferences" -> "Refresh View"?

razaidlitz

razaidlitz

2017-06-20 08:48

reporter   ~0011992

Hello
Thank you for answering!
worked like a charm.
i thought this option is controlled only by the config file and when i have changed it there nothing append.
now i realize it can be individual user option.
is there a way to disable the option to control it from the webmail?

Raz

Christian Mack

Christian Mack

2017-06-21 07:16

developer   ~0011995

Warning: I did not test this!

You could set SOGoRefreshViewIntervals to empty array and SOGoRefreshViewCheck to "manually" or SOGoRefreshViewIntervals to array with the one desired and SOGoRefreshViewCheck to the corresponding value.

But this will not change existing settings of users.
You have to find those not wanted ones (e.g. via script) and change them.

Check value set for a user:
/usr/sbin/sogo-tool user-preferences get defaults ${SOGO_USER} SOGoRefreshViewCheck

Set value to the one desired for a user:
/usr/sbin/sogo-tool user-preferences set defaults ${SOGO_USER} SOGoRefreshViewCheck '{"SOGoRefreshViewCheck":"manually"}'

Issue History

Date Modified Username Field Change
2017-06-18 13:14 razaidlitz New Issue
2017-06-19 08:23 Christian Mack Note Added: 0011987
2017-06-20 08:48 razaidlitz Note Added: 0011992
2017-06-21 07:16 Christian Mack Note Added: 0011995
2017-06-29 11:30 ludovic Status new => resolved
2017-06-29 11:30 ludovic Resolution open => fixed
2017-06-29 11:30 ludovic Assigned To => ludovic