? Pending

User tests: Successful: Unsuccessful:

avatar dneukirchen
dneukirchen
5 Apr 2017

Summary of Changes

This PR fixes behaviour.keepalive.
behaviour.keepalive is not working (when using default db session handler) in current 4.0dev branch.
Users get logged out before keep alive request is fired.

Testing Instructions

Go to global configuration => System tab
Make sure you use "database" as session handler
Set session lifetime to 1 (minute)
Reload page
Wait 45 seconds.

Expected result

The keep alive ajax request should fire every 45 seconds to keep the user logged in.
(Please open dev tools network tab to (not) see the requests)

Actual result

Keepalive request is not fired.
The refresh time of the interval is wrong. The user gets logged out before the request is fired.

fyi: currently the session cookie does not get updated at all. So you will get logged out after cookie expiration anyway, but that is out of the scope of this pr and needs to be fixed by another one.

avatar dneukirchen dneukirchen - open - 5 Apr 2017
avatar dneukirchen dneukirchen - change - 5 Apr 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Apr 2017
Category Libraries
avatar dneukirchen dneukirchen - change - 5 Apr 2017
The description was changed
avatar dneukirchen dneukirchen - edited - 5 Apr 2017
avatar dneukirchen dneukirchen - change - 5 Apr 2017
The description was changed
avatar dneukirchen dneukirchen - edited - 5 Apr 2017
avatar dneukirchen dneukirchen - change - 5 Apr 2017
The description was changed
avatar dneukirchen dneukirchen - edited - 5 Apr 2017
avatar dneukirchen dneukirchen - change - 5 Apr 2017
The description was changed
avatar dneukirchen dneukirchen - edited - 5 Apr 2017
avatar dneukirchen dneukirchen - change - 5 Apr 2017
Title
Bugifx/fix keepalive
[4.0] Bugifx/fix keepalive
avatar dneukirchen dneukirchen - edited - 5 Apr 2017
avatar dneukirchen dneukirchen - change - 6 Apr 2017
The description was changed
avatar dneukirchen dneukirchen - edited - 6 Apr 2017
avatar dneukirchen dneukirchen - change - 6 Apr 2017
The description was changed
avatar dneukirchen dneukirchen - edited - 6 Apr 2017
avatar dneukirchen dneukirchen - change - 6 Apr 2017
The description was changed
avatar dneukirchen dneukirchen - edited - 6 Apr 2017
avatar dneukirchen dneukirchen - change - 6 Apr 2017
The description was changed
avatar dneukirchen dneukirchen - edited - 6 Apr 2017
avatar dneukirchen dneukirchen - change - 6 Apr 2017
The description was changed
avatar dneukirchen dneukirchen - edited - 6 Apr 2017
avatar dneukirchen dneukirchen - change - 6 Apr 2017
The description was changed
avatar dneukirchen dneukirchen - edited - 6 Apr 2017
avatar wilsonge wilsonge - change - 6 Apr 2017
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-04-06 14:08:44
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 6 Apr 2017
avatar wilsonge wilsonge - merge - 6 Apr 2017

Add a Comment

Login with GitHub to post a comment