Connecting Tech Pros Worldwide Forums | Help | Site Map

send data to all users using same web application?

Rich
Guest
 
Posts: n/a
#1: Feb 6 '06
Is there a way to inform all users concurrently using same web
application when one user has made changes to data?

Remote scripting has that ability to send data to client but can't be
done without the client invoking the call to server.

Just need a kick in right direction.

Thanks!

Rich


Rick
Guest
 
Posts: n/a
#2: Feb 6 '06

re: send data to all users using same web application?


If the client does not refresh (either manually or programatically) there is
no way to do it. One way *might* be to use AJAX and have each page poll the
server at regular intervals for an notification of a data change. That way
the user would not be aware of the polling because it would not be a page
refresh, just as request for data.

"Rich" <louis_iv@yahoo.com> wrote in message
news:1139186302.615310.254370@o13g2000cwo.googlegr oups.com...[color=blue]
> Is there a way to inform all users concurrently using same web
> application when one user has made changes to data?
>
> Remote scripting has that ability to send data to client but can't be
> done without the client invoking the call to server.
>
> Just need a kick in right direction.
>
> Thanks!
>
> Rich
>[/color]


Laurent Bugnion
Guest
 
Posts: n/a
#3: Feb 6 '06

re: send data to all users using same web application?


Hi,

Rick wrote:[color=blue]
> If the client does not refresh (either manually or programatically) there is
> no way to do it. One way *might* be to use AJAX and have each page poll the
> server at regular intervals for an notification of a data change. That way
> the user would not be aware of the polling because it would not be a page
> refresh, just as request for data.[/color]

That's the way we do it, regularly poll from the server if changes
happened using a Web Service. If the information changed, the
corresponding zone in the web page is updated using DOM (client-side, no
postback). This is very comfortable and our users like it a lot. But
it's still a poll, i.e. a request/respose mechanism. Short of a Java
applet (or another plug-in using its own port), I don't see a way to
notify a client without it sending a request first.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
Closed Thread