Go Back   Internet Business Forums > Design & Development

Reply
 
Thread Tools Display Modes
Old 20-11-2006, 12:41 AM   #1 (permalink)
Senior Member
 
Join Date: Nov 2006
Posts: 225
Default Need script > JavaScript counter

i see you guys are really advanced in java, is there anyway you could make a script that prints that amount of people that are currently online on a website?? thanks, let me know
roy77
roy77 is offline   Reply With Quote
Old 20-11-2006, 08:57 PM   #2 (permalink)
co-admin
 
army's Avatar
 
Join Date: Oct 2006
Location: Belgium
Posts: 666
Default Re: hey daniel!

You posted at a wrong board . Moved .
army is offline   Reply With Quote
Old 20-11-2006, 09:08 PM   #3 (permalink)
co-admin
 
army's Avatar
 
Join Date: Oct 2006
Location: Belgium
Posts: 666
Default Re: hey daniel!

Client-Side Javascript cannot keep state information for multiple client requests - hence you cannot keep track of each user in one script and have that display results to everyone.

Server-Side Javascript has "project" and "server" objects that you could use to track each visitor; however that language is depricated and was proprietary to Netscape servers only.

You are going to have to use an active server-side scripting language to keep track of "state" information to accomplish what you need:

1.) PHP
2.) ASP
3.) Perl
4.) Java Servlets
army is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT +1. The time now is 07:41 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.