Cookies can also be defined with two other attributes: Domain - A cookie attribute that defines the domain name of Web servers where this cookie is valid. Web browsers holding this cookie should not sent it back to any Web server outside the specified domain. The default domain is the domain from which the cookie originally came from. Path - A cookie attribute that defines the path name of Web server document path where this cookie is valid. Web browsers holding this cookie should not sent it back to the server when requesting any documents that are outside the specified path. The default path is the root path.
PHP
Topic: Cookies
What Are Domain and Path Attributes for Cookies?
Browse random answers:
How To Send a Cookie to the Browser?
How To Test Cookies on a Web Server?
How To Set a Persistent Cookie?
How To Test Persistent Cookies?
What Are Domain and Path Attributes for Cookies?
How To Specify Domain and Path for a Cookie?
What Is the Common Mistake When Setting Path and Domain on Temporary Cookies?
How Cookies Are Transported from Servers to Browsers?
How To View Cookie Header Lines?
How Cookies Are Transported from Browsers to Servers?
Where Are the Persistent Cookies Stored on Your Computer?
How To Delete Cookie Files on Your Computer?
How Many Cookies Can You Set?
What is a Cookie?
How to Create a Cookie?
What is syntax of setcookie?
How to Retrieve a Cookie Value?
How to Delete a Cookie?
What is the meaning of a Persistent Cookie?
What does $_COOKIE means?