Visits
General
This cookies records how many times the visitor has visited the page and writes to the page accordingly.
Notes
- Posted: July 01, 1997
Source Code
Paste this source code into the designated areas.
External file
Paste this code into an external JavaScript file named: visits.js
Head
Paste this code into the HEAD section of your HTML document.
Body
Paste this code into the BODY section of your HTML document


Leave a Response
(4 comments)the code is okay..works on my website but the problem is it counts every hit i made on each menu/page on my website.
Not sure of the problem. It worked for me in IE and FF. Due to the limitations of these comments, if you continue to have problems you will need to submit your question to the [a href="http://www.webdeveloper.com/forum/forumdisplay.php?f=3"]JavaScript Forum[/a] for further help.
it's a nice code, but when i tested it, it started whit 42[br /]and when i reloaded my page, it became 44, 46, 48, ...
the script is good but it dos not tell the name of visitor