Native PHP Sessions
Description
This plugin allows WordPress to utilize PHP's native session handlers backed by the WordPress database. This is essential for scenarios where PHP's default tempfile storage is inadequate, especially in distributed environments.
By default, the session lifetime is set to 0, which means it lasts until the browser is closed. You can override this setting using the pantheon_session_expiration filter to customize session duration.
The plugin includes CLI commands for managing session tables, ensuring compatibility with multisite setups. It also provides troubleshooting tips for common session-related errors.
Other Notable Features
Here are a few other notable features of this free Native PHP Sessions plugin.
FAQ
This implements the built-in PHP session handling functions, rather than introducing anything custom. That way you can use built-in language functions like the $_SESSION superglobal and session_start() in your code. Everything else will “just work”.
Contributors and developers
“Native PHP Sessions” is open source software. The following people have contributed to this plugin.
WPS
6.74
Average
Ratings
4.9 out of 5 | 16Version
1.4.5Last updated
4 months agoActive installations
10,000+WordPress version
6.9.4 or higherPHP version
7.4 or higherLanguages
5Tags
Comments,SessionsOther plugins you might like
All-in-One WP Migration and Backup
By ServMask
WPS
7.51
Very Good
7.6k+reviews
active installation
Tested with
7.0Hostinger Tools
By Hostinger
WPS
7.6
Very Good
28+reviews
active installation
Tested with
6.9.4Duplicate Page
By mndpsingh287
WPS
7.74
Very Good
447+reviews
active installation
Tested with
6.9.4UpdraftPlus: WP Backup & Migration Plugin
By David Anderson / Team Updraft
WPS
7.84
Very Good
8.4k+reviews
active installation
Tested with
7.0Classic Widgets
By Tonya Mork
WPS
7.55
Very Good
265+reviews
active installation
Tested with
6.9.4Redirection
By John Godley
WPS
7.65
Very Good
692+reviews
active installation
Tested with
6.9.4