State Maintenance

DGL 113: State Persistence

To change the background color, on Create Cookies page, click on Simple Cookie button to set the backcolor, then click on state persistence link.

You may test the cookie examples in one of the following ways:

  1. view the page on a remote web server.
  2. view the page on a local web server, such as XAMPP or a nodejs web server
  3. view the page with the local file system to test session cookies without using a web server. In that case, you should preview it using Firefox. If the visual inspection tool doesn't work, use FF's Console tool to inspect the cookies by issuing command, document.cookie.