Add HTTPonly to cookies
I need to apply secure flags to existing cookies - I found another post where Jason said to apply the true statement to the fifth argument, so as an example is this how I would do it?
<?php
if ((isset($_POST["LogIn_submit"])&&(isset($_POST["Log_In_group_4_Log_me_in_automatically"])) && $_POST["Log_In_group_4_Log_me_in_automatically"] != "")) {
setcookie("AutoLoginUN", "".((isset($_POST["Log_In_group_Email"]))?$_POST["Log_In_group_Email"]:"") ."", time()+(60*60*24*30), "/", "", 0, true);
}
?>