Navigator 2.0 or higher.
In this example two cookies are stored containing information about last date and number of times the reader has visited a page (containing these cookies). Since the cookies are stored on the readers hard disk you - the author - will not be able to extract information about the reader.
Cookies can also be used for many other purposes, such as keeping readers preferences for viewing a site, storing passwords, implementing a shopping cart for online business or for keeping track of access rights for a specific reader viewing pages created on the fly on the server.
Reload this page to see the text above updated.
my_NumVisits'to something unique for the current page (maybe use some part ot the url) or else it won't work correctly if other uses this script! These constants are located at the beginning of the HEAD section in this file. It is important to do this!
You may want to change the text inside function
to something more appropriate for your site.
Finally use this code inside the BODY section to display the information in the browser: