aboutsummaryrefslogtreecommitdiffstats
path: root/about.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2016-07-04 15:47:02 +0200
committerplegall <plg@piwigo.org>2016-07-04 15:47:02 +0200
commit724befb35d0edb0727ec511f9cf8086b36e12f8d (patch)
treeec7750d394cd69cd5c2e626f646b36a1a7efa0c7 /about.php
parent27c2871ca27adf24503f953fa05e9ca9d027eb76 (diff)
feature #478, improve performances
By reducing frequency of update on user_infos.last_visit. Instead of updating on each page visit, we wait at least a session length, which is 30 minutes by default. @modus75 suggested to use function log_user instead, which is a better design. Unfortunately it would lead to much less accuracy, because on many systems PHP sessions are never purged (Debian with default settings). It would be possible to come back everyday and never update the last_visit, as long as the web browser is not closed.
Diffstat (limited to 'about.php')
0 files changed, 0 insertions, 0 deletions