[phpMyAdmin Git] [phpmyadmin/phpmyadmin] 766768: Use more reasonable timeouts for keepalive
Michal Čihař
michal at cihar.com
Tue Feb 14 17:01:17 CET 2017
Branch: refs/heads/QA_4_7
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: 7667689d65b812426eb049a55c91ae3f2561d455
https://github.com/phpmyadmin/phpmyadmin/commit/7667689d65b812426eb049a55c91ae3f2561d455
Author: Michal Čihař <michal at cihar.com>
Date: 2017-02-14 (Tue, 14 Feb 2017)
Changed paths:
M js/functions.js
Log Message:
-----------
Use more reasonable timeouts for keepalive
- always update before session expiry
- shorter interval in the end
Fixes #11231
Signed-off-by: Michal Čihař <michal at cihar.com>
Commit: dc3ef3ce7f55cd19d01192ccd029230833f28cd1
https://github.com/phpmyadmin/phpmyadmin/commit/dc3ef3ce7f55cd19d01192ccd029230833f28cd1
Author: Michal Čihař <michal at cihar.com>
Date: 2017-02-14 (Tue, 14 Feb 2017)
Changed paths:
M ChangeLog
M js/functions.js
M libraries/Header.php
Log Message:
-----------
Try harder to honor LoginCookieValidity setting
Even when it is lower than session.gc_maxlifetime we try to keepalive
the session by AJAX.
Fixes #11231
Signed-off-by: Michal Čihař <michal at cihar.com>
Commit: 82f13e34d0f9e96960f5bdbf7fd3edc048c69f58
https://github.com/phpmyadmin/phpmyadmin/commit/82f13e34d0f9e96960f5bdbf7fd3edc048c69f58
Author: Michal Čihař <michal at cihar.com>
Date: 2017-02-14 (Tue, 14 Feb 2017)
Changed paths:
M js/functions.js
M libraries/plugins/AuthenticationPlugin.php
M libraries/plugins/auth/AuthenticationCookie.php
M test/classes/plugin/auth/AuthenticationCookieTest.php
Log Message:
-----------
Better handle multiple open browser windows
Calculate session expiry per browser (tracking is based on
sessionStorage which is unique per tab). With this we're able to detect
that there is another window open and actively used and avoid logging it
out by inactive one.
Issue #11231
Signed-off-by: Michal Čihař <michal at cihar.com>
Compare: https://github.com/phpmyadmin/phpmyadmin/compare/c603141bdd74...82f13e34d0f9
More information about the Git
mailing list