lumaxw3b/croogo_clearsession

ClearSession plugin for Croogo CMS 2.x versions.

dev-master 2015-05-19 10:21 UTC

This package is not auto-updated.

Last update: 2024-04-13 15:44:44 UTC


README

Software License Total Downloads

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.