lumaxw3b/croogo_clearsession 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

lumaxw3b/croogo_clearsession

Composer 安装命令:

composer require lumaxw3b/croogo_clearsession

包简介

ClearSession plugin for Croogo CMS 2.x versions.

README 文档

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.

统计信息

  • 总下载量: 17
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-17