Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a counter using Javascript

Status
Not open for further replies.

williamsba

Programmer
Aug 3, 2000
57
US
I am trying to create a page counter using Javascript, but cant find any info on it.&nbsp;&nbsp;Does anyone out there know how to do this or know of any sample pages I could view? <br><br>Thank You <p>Brad Williams<br><a href=mailto:williamsba1@2fssg.usmc.mil>williamsba1@2fssg.usmc.mil</a><br><a href= FSSG Homepage</a><br>
 
What your looking for is a way of creating a stored value on your server with JavaScript.&nbsp;&nbsp;Now, I haven't had much of a look into the new HTML 4.0, but in the previous codes, you couldn't really store data.&nbsp;&nbsp;You could call an FSO or a Cookie, but that would store data on the visitor's system...not on yours.<br><br>What your needing is server side scripting to create the counter in a file and update it when there is a hit.&nbsp;&nbsp;<br><br>NOTE:&nbsp;&nbsp;It would problably be easier and more beneficial to use someone like Superstats.com to track you counter.&nbsp;&nbsp;They can track all of the system information about your visitors computer.&nbsp;&nbsp;This information is helpful in future endeavors as you can modify the page for the most popular resolution, or a specific Browser or even an OS.&nbsp;&nbsp;<br><br>Jonathan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top