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.


Der er ingen anmeldelser for denne widget.

Bidragsydere & udviklere

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


“WP Database Session Handler” er blevet oversat til 1 sprog. Tak til oversætterne for deres bidrag.

Translate “WP Database Session Handler” into your language.

Interesseret i udvikling?

Gennemse koden, tjek SVN repository, eller abonner på udviklerloggen via RSS.



  • Fixed compatibility with PHP > 7.1


  • First release.