Web Services Online Status

K

Kevin Gibbons

Hi,

I am currently trying to write a web service to display the names of
all users logged into a webpage in an online presence list (username
is collected from a database).

Does anyone know a good example of how to do this so that as soon as a
user accesses or leaves the webpage their online status will be
updated for all connected users?

Thanks in advance,
Kevin
 
D

Dan Rogers

Because web pages are based on HTTP, and HTTP is a connectionless protocol,
unless you arrange for a special HTTP request to say 'I've left the on-line
building', you really can't assume this without implementing an assumption
based on a length of time expiring since you've seen a request from a given
user.
--------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top