6
Contributors
5
Replies
13
Views
9 Years
Discussion Span
Last Post by john58975
0

This can be done entirely in server side code, actually, javascript isn't exactly suited for this unless you want some sort of AJAX functionality. Why don't you tell me which server-side language you use so I point you in the right direction.

0

Just use some AJAX library which will make a request and put onto page returned value.
Do you need detailed script for that?

0

In order to keep track of number of visitors, you need something to hold on the counter value as scru said. So pure JavaScript can't do it because a client browser is local to the client machine. Also, you need to determine how you count it. You should not increase the count every time someone visits a page because someone may keep refreshing the page instead...

Edited by Taywin: n/a

0

GoStats is a free website analytics & website hit counter. It reports data in a real time & shows the page view, unique visitor on the website try gostats. It is easy to install & has some advance features. It might be helpful for you.

Edited by john58975: space gap

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.