“This article discusses the World Wide Web use of ‘cookies’ for two purposes: customizing a user’s experience and analyzing user activity. It covers the theory and practice of cookies, and includes eight code samples. All code is in Perl (version 5 where it matters). The examples are simplified to illustrate the concepts clearly. In real life you will want more robust error checking.”