PHP - Sessions and Cookies
Which of the following is the correct way to set a cookie named
session_id with value xyz123 that expires after 30 minutes in PHP?session_id with value xyz123 that expires after 30 minutes in PHP?setcookie() is the expiration time in Unix timestamp format.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions