This tool is used to set and get cookies, using HTTP method (Set-Cookie header).
The purpose was to test browser behaviours regarding cookies and private navigation mode.
The tool is written in PHP. It uses the setcookie method to set and erase cookies.
The cookies are sent using the Set-Cookie
header. The name of the cookie is test
.
The tool tests both local and remote cookies (not using P3P policy for 3rd party cookies). The 3rd party cookie is set using a call to a JS file. The JS file is not static, but dynamically created using PHP. It sets the cookie on the fly.
Do not forget to change your 3rd-party cookie policy for the test to work !