GrootMade is NOT affiliated with Naran Session or its original author. Naran Session™ is a trademark of its respective owner and use of it does not imply any endorsement or affiliation. This product has been forked under the GNU General Public License (GPL) and all non-GPL assets (such as proprietary images, fonts, and branding) have been removed. Distributing GPL-licensed code is 100% legal.
This plugin adds a cookie and transient-based session system to content management systems, designed specifically for developers who need to manage user state across page loads. It provides a programmatic API to store and retrieve data that persists for a user's visit without relying on the platform's default session handling.
Core Functions: The plugin includes essential functions like nsess_get() and nsess_set() to easily retrieve and store serializable data with a specified timeout, using a simple key-value structure.
Expiration Control: Each stored session value can have its own timeout duration, and you can check remaining validity with nsess_get_expiration(), giving precise control over data lifespan.
Session Lifecycle Management: Functions like nsess_reset() to clear all data and nsess_destroy() to completely terminate the session allow for full management of the session state.
Configurable Constants: Key behaviors like cookie name, default timeout, path, domain, and security flags (HTTP-only, secure) can be customized by defining constants in the site's configuration file.
Developer Notes: The system is built on the transient API for server-side storage, ensuring automatic cleanup. Developers must note that write operations must occur before headers are sent to the client for changes to propagate correctly via cookies.
We do not provide support for the original product. If you need official support, please purchase a license from the original developer. Our community assistance is only for issues related to our forked version.
Have questions, feedback, or need support? Join the discussion on our forum.
Discuss on ForumVersion
Author
Updated
Version
Author
Updated
Version
Author
Updated
Author
Version
Type
License
Access
Minimum Version
Requires PHP
Fork date
Updated
Original slug