Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2005

Tip: Looking for answers? Try searching our database.

Web Services Online Status

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kevin Gibbons - 14 Feb 2005 11:19 GMT
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
Dan Rogers - 15 Feb 2005 21:37 GMT
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.
--------------------
>From: kevgibbo@hotmail.com (Kevin Gibbons)
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
[quoted text clipped - 7 lines]
>Content-Transfer-Encoding: 8bit
>X-Trace: posting.google.com 1108379993 19234 127.0.0.1 (14 Feb 2005
11:19:53 GMT)
>X-Complaints-To: groups-abuse@google.com
>NNTP-Posting-Date: Mon, 14 Feb 2005 11:19:53 +0000 (UTC)
>Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
ne.de!news.glorb.com!postnews.google.com!not-for-mail
>Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:5518
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
>
[quoted text clipped - 10 lines]
>Thanks in advance,
>Kevin

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.