lumaxw3b/croogo_clearsessionfile

适用于Croogo CMS 2.x版本的ClearSessionFile插件。

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

This package is not auto-updated.

Last update: 2024-09-28 17:49:13 UTC


README

Software License Total Downloads

Croogo CMS的ClearSessionFile插件,用于在tmp/sessions文件夹中删除会话文件。

安装ClearSessionFile

此插件与特定的CakePHP/Croogo会话存储配置一起使用。在安装此插件之前,请更改app/Config/croogo.php中的会话配置

Configure::write('Session', array(
	'defaults' => 'cake',
	// '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
	),
));

设置Croogo配置后,我们需在app/tmp/下创建会话文件夹,然后安装ClearSessionFile插件,并点击一次删除app/tmp/sessions/下所有已保存的会话文件。

问题

如有任何关于此插件的问题,请向github上的问题跟踪器报告。

许可证

Asset Compress在MIT许可证下提供。

版权

2015 Lukas Marks (http://lumax-web.de/)

作者

请参阅github贡献者列表

变更日志

请参阅CHANGELOG以查看仅在master分支上可用的更改。请参阅github发布以查看之前版本上的变更日志。