When an expiration date is given in a Set-Cookie header, what is the resulting behavior in subsequent requests?
If the expiration date has expired, the cookie is not included
Correct:
If the expiration date has expired, the cookie is not included
Answer A is correct.Answer B is incorrect because only the name and value of the cookie are included in the Cookie header.Answer C is incorrect because setting an expiration date causes a cookie to either be deleted (if the date has expired) or written to disk.Answer D is incorrect because the cookie is only deleted if the date has expired, which isn’t necessarily the case.