From 7f9ffa31f41d27f6d1872bbc1529c7379db16894 Mon Sep 17 00:00:00 2001 From: Trevor Slocum Date: Tue, 27 Oct 2015 21:37:16 -0700 Subject: [PATCH] Set management session lifetime to 30 days --- imgboard.php | 1 + 1 file changed, 1 insertion(+) diff --git a/imgboard.php b/imgboard.php index eaf516b..8993b84 100644 --- a/imgboard.php +++ b/imgboard.php @@ -6,6 +6,7 @@ error_reporting(E_ALL); ini_set("display_errors", 1); session_start(); +setcookie(session_name(), session_id(), time() + 2592000); ob_implicit_flush(); if (function_exists('ob_get_level')) { while (ob_get_level() > 0) {