make simple php and mysql project work
Pago na entrega
Project is very simple, to create a session we use id, user, password, ip, ping_usuario, which is a php page that briefly drops the browser the client in 10 and 10 seconds to update the database with the time of the ping "$ ping_usuario = date ("Ymd H: i: s"); " all of this data is for creating a session in the database.
access is configured to support up to two simultaneous accesses by the same user, on a different device or on the same, each access generates a section, with a hash number, ip, uid, id, ping_usario.
If that user leaves a device "close the browser" in the section the ping_usuario field does not update. thus creating an expired session.
currently if the user tries to access again in 10 minutes for example the php code deletes the active session "browser open on the page" dripping and the session expired that he closed 10 minutes ago.
what i want is to just delete the expired session "ping_usuario" or expiredate and keep the session active for the user who is with the browser open and pinging. thus updating the field of your ping_usuario session.
Sorry if I couldn't express the code's functionality exactly, because I'm using google translator.
ID do Projeto: #29496884