The code is not written for a set number of cookies so it is easily customisable for use on other pages. The form below allows you to change the values of the three variables. Enter the desired values and press [Set Cookie]. To view the contents of or delete this cookie go back to the Cookie Test Page.
As with the other page you can set the following name=value pairs and then reload this page to see some cookies in action: bgcolour=red, userName=your name, or headCount=99. The difference is that only one cookie need be stored at any time.