I am setting a cookie using php's setcookie and the expire value is set to 0. However when I look at the cookie using developer tools it shows the below i.e the expires as 1970 . How do i make the expires time in the future but making the session expire when the browser is closed.
My security team is complaining of this as expired cookies.