WP Manifestindependent plugin directory
manifest / utilities / wpdb-phpsessions

WPDB PHP Sessions

PHP Sessions backend via $wpdb in WordPress

by pressjitsu · github.com/pressjitsu/wpdb-phpsessions

24stars
12forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/pressjitsu/wpdb-phpsessions/archive/refs/heads/master.zip

Readme

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)

Read the full README on GitHub →