Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bcremer/SwagSessionHandler
https://github.com/bcremer/SwagSessionHandler
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bcremer/SwagSessionHandler
- Owner: bcremer
- License: mit
- Created: 2017-01-25T17:54:19.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-26T17:56:33.000Z (almost 8 years ago)
- Last Synced: 2024-04-18T18:56:22.813Z (7 months ago)
- Language: PHP
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-shopware - Session Handler - Session Handler (Shopware 5.2). (Plugin Examples)
README
# SwagSessionHandler
This is a workaround or proof of concept for the following ticket: .
The following pull request for Symfony's PdoSessionHandler was rebased to the current Symfony 3.1 branch
.With Shopware 5.2.14 the Session Handling was changed to use Symfony's `PdoSessionHandler`.
This patched SessionHandler will be used instead of the one Provided by the Shopware Core to improve performance of the session garbage collection.
This is dony by using precalculated expiry timestamps as implemented in the above mentioned Symfony PR.This will eventually be included the next Shopware Version (Currently targeting 5.2.17).
## Installation
git clone https://github.com/bcremer/SwagSessionHandler.git custom/plugins/SwagSessionHandler
./bin/console sw:plugin:refresh
./bin/console sw:plugin:install --activate SwagSessionHandler
./bin/console sw:cache:clear
## NoteThis plugin uses a separate table (`swagsessionhandler_sessions`) and copies sessions from `s_core_sessions` so it can safely tested.
## LicenseThe MIT License (MIT). Please see [License File](LICENSE) for more information.