Which two attributes can be set in a web application cookie to indicate it is a persistent cookie? (Choose two.)
- Expires
- Max-Age
- Domain
- Secure
- Path
Explanation & Hint: Session management mechanisms based on cookies can use two types of cookies: non-persistent (or session) cookies and persistent cookies. If a cookie has a Max-Age or Expires attribute, it is considered a persistent cookie and is stored on a disk by the web browser until the expiration time. |