What is the significance of the path attribute in a cookie?

  • It defines the cookie's value
  • It indicates the cookie's path
  • It sets the cookie's domain
  • It specifies the cookie's name
The path attribute in a cookie is significant as it indicates the URL path for which the cookie is valid. The client sends the cookie only if the path matches the requested URL.
Add your answer
Loading...

Leave a comment

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