stable

Clone or download

Read-only

Update the user agent associated with a session when a change is detected

This is useful for long-lived session where the browser is susceptible to be updated. The easiest way to test the change is to update your entry in the session DB table and to check that it is updated back to the expected value when you browse. Part of request #21338: Add statistics in the site administration about browser usages based on the active sessions Change-Id: Ie43a75fcf14ecb228bc37397a88b0db718999054

Modified Files

Name
M src/common/User/SessionManager.php +5 −1 Go to diff View file
M src/common/User/UserManager.class.php +2 −1 Go to diff View file
M src/common/dao/SessionDao.class.php +8 −0 Go to diff View file
M tests/unit/common/User/SessionManagerTest.php +8 −6 Go to diff View file