From cf546541d97555e3952098f8af3d0966dc6a5796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E8=AF=9A=E8=AF=9A?= Date: Tue, 9 May 2017 11:49:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=AF=86cookies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- author/config/config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/author/config/config.php b/author/config/config.php index 2b8578b3..8bf89541 100644 --- a/author/config/config.php +++ b/author/config/config.php @@ -245,9 +245,9 @@ $config['encryption_key'] = 'pliy3rgYcV9lXeKWaO6P_author'; | */ $config['sess_cookie_name'] = 'ci_session_author'; -$config['sess_expiration'] = 0; +$config['sess_expiration'] = 7200; $config['sess_expire_on_close'] = FALSE; -$config['sess_encrypt_cookie'] = FALSE; +$config['sess_encrypt_cookie'] = true; $config['sess_use_database'] = FALSE; $config['sess_table_name'] = 'ci_sessions_author'; $config['sess_match_ip'] = FALSE;