Problem Statement
Explain important attributes of cookies.
Explanation
Cookies have attributes like name, value, expiry time, path, domain, and flags such as Secure and HttpOnly. The Secure flag ensures cookies are sent only over HTTPS, and HttpOnly prevents access from JavaScript for safety.
Practice Sets
This question appears in the following practice sets:
