From b3cc05c41dd11e245d262ede40b1ba8635953fb9 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 12 May 2014 17:04:03 -0700 Subject: try to fix random logouts --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index a07c1a633..5f0ff9834 100755 --- a/index.php +++ b/index.php @@ -60,7 +60,7 @@ if(! $a->install) { if(intval($a->config['system']['ssl_cookie_protection'])) { $arr = session_get_cookie_params(); session_set_cookie_params( - ((isset($arr['lifetime'])) ? $arr['lifetime'] : 60*5), + ((isset($arr['lifetime'])) ? $arr['lifetime'] : 0), ((isset($arr['path'])) ? $arr['path'] : '/'), ((isset($arr['domain'])) ? $arr['domain'] : $a->get_hostname()), ((isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on') ? true : false), -- cgit v1.2.3