This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Database Session Handler


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.


  • Settings page


  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


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.


There are no reviews for this plugin.

Contributors & Developers

“WP Database Session Handler” is open source software. The following people have contributed to this plugin.


“WP Database Session Handler” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “WP Database Session Handler” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Fixed compatibility with PHP > 7.1


  • First release.