Stop loading virtual sessions when a session is being resumed
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 1 Oct 2020 09:32:15 +0000 (11:32 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 1 Oct 2020 14:11:28 +0000 (16:11 +0200)
This change causes the wcf1_session_virtual table to not necessarily contain a
row matching the current userAgent and ipAddress, even if the user has a valid
session. This is not too bad, considered that after the previous commits the
lastActivityTime was not being updated anyway.

wcfsetup/install/files/lib/system/session/SessionHandler.class.php

index dce3fd4819d5378493c23fca5092b128615972d0..5669ccec81e9f9fa9c1caa9e1383d5c53aa8e625 100644 (file)
@@ -429,8 +429,6 @@ class SessionHandler extends SingletonFactory {
                }
                
                $this->user = new User($this->session->userID);
-               
-               $this->loadVirtualSession();
        }
        
        /**