client/ server - knowing when to renew dataset

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to send a request from a web service to a client telling the client it needs to update/reload the dataset from the web service, because data has been updated on the server side by another client
Where is the best source to look to learn more about how to accomplish this?
 
you can do so with a simple flag. once the data is dirty set this global
dirty flag to true. when the application requests data, it examines the
flag. if it is dirty it obtains the latest copy from the database instead of
the dataset, changes to flag to clean and updates the dataset copy.

your webservice approach can work the same way, or it can go out and
immediately get the new dataset. the problem with this approach is that it
creates a lot of traffic which may not be necessary.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/27cok
Lars said:
Is it possible to send a request from a web service to a client telling
the client it needs to update/reload the dataset from the web service,
because data has been updated on the server side by another client?
Where is the best source to look to learn more about how to accomplish
this?
 
Back
Top