Add session cookie httponly and set it to true.

This commit is contained in:
markjcrane
2015-12-21 20:52:54 -07:00
parent e2feca300a
commit 5da1286329
10 changed files with 14 additions and 5 deletions

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