WP Manifestindependent plugin directory
manifest / utilities / wpdb-phpsessions

WPDB PHP Sessions

PHP Sessions backend via $wpdb in WordPress

★ 24stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/pressjitsu/wpdb-phpsessions/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

MySQL-backed PHP Sessions in WordPress

wpdb-phpsessions is a PHP sessions backend that uses the MySQL database (via $wpdb) for storage and management.

Why is this even needed?

In an endeavor to speed WordPress sites up we decided to move all PHP sessions into the database. Check out our extensive PHP Sessions Can Hurt Your WordPress Performance article for more information and caveats.

Installation

Drop wpdb-phpsessions.php into your wp-content/plugins/ or wp-content/mu-plugins/ directory and enjoy.

License

wpdb-phpsessions Copyright (c) 2016 Pressjitsu // licensed under the GPLv3 (https://www.gnu.org/licenses/gpl-3.0.txt)