How can a server control the lifetime of a cookie in a client's browser?

  • Setting the Domain attribute
  • Setting the Expires attribute
  • Setting the Max-Age attribute
  • Setting the Path attribute
The server can control the lifetime of a cookie by setting the Max-Age attribute, specifying the maximum age of the cookie in seconds.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *