WP Redis User Session Storage
Contributors: ethitter
Donate link: https://ethitter.com/donate/
Tags: user sessions, session tokens, session storage
Requires at least: 4.0
Tested up to: 5.2
Stable tag: 0.1
Requires PHP: 5.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Store WordPress session tokens in Redis rather than the usermeta table.
Description
Store WordPress user session tokens in Redis rather than the usermeta table.
Installation
- Install and configure Redis. There is a good tutorial here.
- Install the Redis PECL module.
- Activate the plugin network-wide or by placing it in
mu-plugins
. - By default, the script will connect to Redis at 127.0.0.1:6379. See the Connecting to Redis section for further options.
Frequently Asked Questions
Connecting to Redis
By default, the plugin uses 127.0.0.1
and 6379
as the default host and port when creating a new client instance; the default database of 0
is also used. Three constants are provided to override these default values.
Specify WP_REDIS_USER_SESSION_HOST
, WP_REDIS_USER_SESSION_PORT
, and WP_REDIS_USER_SESSION_DB
to set the necessary, non-default connection values for your Redis instance.
Changelog
0.1
- Initial public release