Hi, i would just like someone to explain me the server-side concept thing when it comes to games/chat rooms ect.
Lets say i would like to make a a very simple function - every x seconds a random sentence from an array would echo like so.
1. hello adam.
2. Banking by handset, navigating ...
3. location-based searches are just a few of the exciting
but this function should run on the server regardless of any calls made from the client's agent. i.e if user A goes to someserver.com/run.php and sees 3 sentences and leaves the page. When User A comes back to someserver.com/run.php some minutes later the server has run the function 10 more time since the last time and now he/she sees 13 sentences.
My question is how is this accomplished? like what is the concept?
Thank you. i actually had a talk with my boss and the conclusion was that there needs to be at least 1 user making requests to the server, thus keeping information updated. That users can act as an admin an his browser should always be on.
All i wanted to know really, was how can i make a flash movie play on the server over and over and all the users that visit that page see the same scene no matter when they login to the page