Image of RHCE Red Hat Certified Engineer Linux Study Guide (Exam RH302) (Certification Press)
Image of Android Wireless Application Development
Image of Operating System Concepts
Image of XSLT 2.0 and XPath 2.0 Programmer's Reference (Programmer to Programmer)

Persistent JavaScript Webpage Hit Counter

Recently I wanted to add a simple web page persistent hit counter to one of my websites. You have all seen such counters; there are a bazillion styles and sizes available on the Internet for free. Rather than use one of the external hit counter services such as hitwebcounter or free-counters or use a PHP and HTTP cookies solution, I decided to use JavaScript and XMLHTTPRequest to retrieve an incrementing counter on the website hosting platform and display it in a vcounter div element. XMLHttpRequest is a JavaScript object which provides the basis mechanism for AJAX (Asynchronous JavaScript and XML)