Ok, here is the task (maybe there are other ways to solve this)
I have a PHP page. When executed, it goes to a third server gets the data, processes it and displays it.
I want to be able to control the traffic between my server and the third server.
Whenever the PHP page loads I need it to get the data from the third server ONLY if the data older than some period.
In order to do that I need to store the time I retrieved the data for the last time.
This resource should be centralized, because it should be the same for all the clients and all the sessions active at the moment.
Do you think there is a way to do that?
Enter your message below
Sign in or Join us (it's free).