This page illustrates cookies. When it is loaded for the first time, the server sends a "cookie" to your browser (using Javascript). You can view the javascript by examining the source of this page.
On second and later visits, the cookie is updated, and its contents (that reveal earlier visits) are reported.