catchAdmin/config/session.php

20 lines
596 B
PHP
Raw Permalink Normal View History

2019-12-02 23:04:43 +08:00
<?php
// +----------------------------------------------------------------------
// | 会话设置
// +----------------------------------------------------------------------
return [
// session name
'name' => 'PHPSESSID',
// SESSION_ID的提交变量,解决flash上传跨域
'var_session_id' => '',
// 驱动方式 支持file cache
'type' => 'file',
// 存储连接标识 当type使用cache的时候有效
'store' => null,
// 过期时间
2019-12-12 18:53:34 +08:00
'expire' => 24 * 3600,
2019-12-02 23:04:43 +08:00
// 前缀
2019-12-12 18:53:34 +08:00
'prefix' => 'catch_admin',
2019-12-02 23:04:43 +08:00
];