Added pre-emptive session renewal to avoid "random" submission errors
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 18 Jun 2015 18:59:12 +0000 (11:59 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 18 Jun 2015 21:51:15 +0000 (21:51 +0000)
commit646fdc978c0122bc4b465fae64ec8f68a62cebe5
tree45621cd4004de04d2a69b13c494497fb5d97d853
parent5df96c7ff289a1bb0068b114900659348625d672
Added pre-emptive session renewal to avoid "random" submission errors

* The session will be renewed on access if it will expire in 10 minutes
* This avoids a problem both with 532ef78 + PHP <= 5.5 or any PHP >= 5.6

Bug: T102199
Change-Id: I8cad100bc35e86fa95ad144bcad338f3cb5d82a1
includes/objectcache/ObjectCacheSessionHandler.php