The path for which the cookie is valid can be set using the ________ parameter in the setcookie() function.

  • cookie.max_age
  • cookie.secure
  • cookie.expires
  • cookie.path
The 'cookie.path' parameter in the setcookie() function defines the path for which the cookie is valid, allowing for precise control over cookie scope.
Add your answer
Loading...

Leave a comment

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