Added support for virtual sessions
authorAlexander Ebert <ebert@woltlab.com>
Fri, 18 Apr 2014 22:01:33 +0000 (00:01 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 18 Apr 2014 22:01:33 +0000 (00:01 +0200)
commit5a05fde9f087d9005f980268b7b66d8467631449
tree39672458ae111f6571e868e7632ba50fc4f2791a
parent32565b2d5a477027daf4cd057c1e8bcb16570dcc
Added support for virtual sessions

Virtual Sessions extend the original session system with a transparent layer. It's only purpose is to enforce session validation based on IP address and/or user agent.

The legacy session system does not allow the same user being logged-in more than once and the same is true for WCF 2.1 unless we break most parts of the API. In order to solve this, we do allow multiple clients to share the exact same session among them, while the individual clients are tracked within wcf1_session_virtual.
wcfsetup/install/files/lib/data/acp/session/ACPSession.class.php
wcfsetup/install/files/lib/data/session/Session.class.php
wcfsetup/install/files/lib/data/session/virtual/SessionVirtual.class.php [new file with mode: 0644]
wcfsetup/install/files/lib/data/session/virtual/SessionVirtualAction.class.php [new file with mode: 0644]
wcfsetup/install/files/lib/data/session/virtual/SessionVirtualEditor.class.php [new file with mode: 0644]
wcfsetup/install/files/lib/data/session/virtual/SessionVirtualList.class.php [new file with mode: 0644]
wcfsetup/install/files/lib/system/session/SessionHandler.class.php
wcfsetup/setup/db/install.sql