lumaxw3b / croogo_clearsession
ClearSession plugin for Croogo CMS 2.x versions.
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Type:croogo-plugin
Requires
- php: >=5.3.0
- composer/installers: *
- croogo/croogo: ~2.0
This package is not auto-updated.
Last update: 2025-04-12 20:58:26 UTC
README
Croogo CMS ClearSession plugin for session record delete from the database table.
Installing ClearSession
This plugin works with a specific CakePHP/ Croogo session storage configuration. Before installing this plugin change the session configuration in app/Config/croogo.php
Configure::write('Session', array( 'defaults' => 'database', // 'timeout' => 30, // The session will timeout after 30 minutes of inactivity // 'cookieTimeout' => 1440, // The session cookie will live for at most 24 hours, this does not effect session timeouts 'checkAgent' => false, // 'autoRegenerate' => true, // causes the session expiration time to reset on each page load 'ini' => array( 'session.cookie_secure' => false, 'session.cookie_httponly' => true ), ));
After setting up the Croogo configuration we have to create the cake_sessions database table
CREATE TABLE `cake_sessions` ( `id` varchar(255) NOT NULL DEFAULT '', `data` text, `expires` int(11) DEFAULT NULL, PRIMARY KEY (`id`) );
Install the ClearSession Plugin and delete all selected sessions from the database table with one klick.
Issues
Please report any issues you have with the plugin to the issue tracker on github.
License
Asset Compress is offered under an MIT license.
Copyright
2015 Lukas Marks (http://lumax-web.de/)
Authors
See the github contributors list
Changelog
See CHANGELOG for changes only available on master
. See
github releases for changelogs on previous releases.