posted 25 years ago
Javascript probably isn't the solution. In order to count how many users have hit your site, you need to keep a value for each and every user, and you need to keep this on the server. Javascript is a client side scripting language, so it doesn't really look at session values. You can try server side javascript, but I have never done that. I have done counters using ASP (windows) and CGI (unix), and that is probably the easiest and will cause the least amount of problems.