Browse Source

Update cookie settings

master
Skylar Ittner 1 year ago
parent
commit
a04207da62
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      required.php

+ 1
- 1
required.php View File

@@ -11,7 +11,7 @@ header('Content-Type: text/html; charset=utf-8');
11 11
 header('X-Content-Type-Options: nosniff');
12 12
 header('X-XSS-Protection: 1; mode=block');
13 13
 $session_length = 60 * 60; // 1 hour
14
-session_set_cookie_params($session_length, "/", null, false, true);
14
+session_set_cookie_params($session_length, "/", null, false, false);
15 15
 
16 16
 session_start(); // stick some cookies in it
17 17
 // renew session cookie

Loading…
Cancel
Save