A doubt
I need to make an application that validates from time to time if a session is valid through a query to the bank. This query should be done automatically, without the need for a user action, such as a JS location.reload ().
I thought of using a php socket to do this validation, but I do not know if it is the right way. Or change the whole idea and abandon the php and use the nodeJs that seems to be more useful for this functionality.
Could someone explain to me the best way to develop this application? I just need a guide to use, not coding or scripting, it's more the same conceptual question and showing the correct way forward.