Add session cookie httponly and set it to true.

This commit is contained in:
markjcrane
2015-12-21 20:52:54 -07:00
parent d6c03f19e9
commit b721572c56
10 changed files with 14 additions and 5 deletions
+1
View File
@@ -31,6 +31,7 @@ require_once "resources/require.php";
}
//start the session
ini_set("session.cookie_httponly", True);
session_start();
//if the username session is not set the check username and password