This sample uses cookies to save user preferences. A small form allows you to select colors for the foreground and background. The values are saved in cookies and read back when the form reloads.