Forum Moderators: coopster

Message Too Old, No Replies

Signal clients to reload from server

         

tores

8:19 pm on Jan 3, 2005 (gmt 0)

10+ Year Member



Hi.

My server has a database. Info from this database may be displayed at a number of clients. What I want is the clients to reload the info when the database is updateted, by another client. Hence, the server should signal the necessary clients... Is this possible without coding my a#% of?

regards tores

jatar_k

8:22 pm on Jan 3, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



how often is it updated? Is it on a regular schedule?

you could maybe have a meta refresh on the page that is set to some time period. Since the page will be viewed client side you will need a client side solution or you will just have to display a message to update the page.

tores

8:29 pm on Jan 3, 2005 (gmt 0)

10+ Year Member



Okey.

I thought to ease the server by re-reading only when necessary. But to accomplish this I probably would have to store which client had a copy of a portion of the db at the server...
Currently I'm using javascript to refresh the clients...

regards tores