mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Add session cookie httponly and set it to true.
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
|
||||
//session handling
|
||||
//start the session
|
||||
ini_set("session.cookie_httponly", True);
|
||||
session_start();
|
||||
//regenerate sessions to avoid session id attacks such as session fixation
|
||||
if ($_SESSION['security']['session_rotate']['boolean'] == "true") {
|
||||
|
||||
Reference in New Issue
Block a user