WP Database Session Handler

Plugin Banner

WP Database Session Handler

by stefanocanziani

Download
Description

Add handling of user session inside SQL Database. This session manager is useful if you have an environment with more than one frontend server and a load balancer who switch the web traffic dinamically between frontend hosts.
Mysqli extension required.

  1. Upload the plugin to the ‘/wp-content/plugins/’ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Use $_SESSION in your code.
  4. Use the ‘Settings->DB Session Handler’ to configure the plugin
  1. Settings page

    Settings page

There are special needs to use session variables?

No. You can use global variable $_SESSION as you normally do.

How long do session variables live?

This depends on your PHP installation’s configuration. Please read the PHP manual
for more details on configuration.

1.0.1

  • Fixed compatibility with PHP > 7.1

1.0.0

  • First release.
Back to top