Skip to content

Commit

Permalink
Secure session cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
buihanh2304 committed Aug 16, 2023
1 parent 35b8d11 commit a5b2f9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configs/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
ini_set('display_startup_errors', 1);
error_reporting(-1);

ini_set('session.cookie_httponly', 1);

if (extension_loaded('zlib')) {
ini_set('zlib.output_compression', 'On');
Expand Down

0 comments on commit a5b2f9b

Please # to comment.