Ekate Posted April 14, 2007 Share Posted April 14, 2007 Hello, probably I'm asking stupid question,but... If I have several running clients and one of them is making changes in the database. How can I obtain these changes automatically in other clients? Thank you in advance, Best regards Quote Link to comment https://forums.phpfreaks.com/topic/47041-stupid-question/ Share on other sites More sharing options...
AndyB Posted April 14, 2007 Share Posted April 14, 2007 I'm not sure quite what you mean by 'running clients' - browser sessions active or customers who jog. The answer might be to give the others read access to the same database. If I've missed the point completely, you might want to post again with more information (and different terminology). Quote Link to comment https://forums.phpfreaks.com/topic/47041-stupid-question/#findComment-229411 Share on other sites More sharing options...
Ekate Posted April 15, 2007 Author Share Posted April 15, 2007 All clients have access to the same database.I just need to react somehow on database changing. I know that I can reload the client every certain time,but I'm wondering about reaction on the database changing.I mean if one client upload something it should be immediately reflected on other clients,but I don't want to force all clients reload every certain time. Thank you Best regards Quote Link to comment https://forums.phpfreaks.com/topic/47041-stupid-question/#findComment-229577 Share on other sites More sharing options...
bubblegum.anarchy Posted April 15, 2007 Share Posted April 15, 2007 You are still probably going to have to poll for changes... keep a simple unix_timestamp field since last change. Quote Link to comment https://forums.phpfreaks.com/topic/47041-stupid-question/#findComment-229590 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.