php - keep track of logged in users -
i'm designing application in php, users directory, need display login status each user. there safe way tell if user connected (logged in) or not?
edit: i'm updating post application logic. application craftsmen directory. each craftsman login application. when search craftsmen, able see logged in ones , send message job description needs done. craftsmen may not have other activity log in app, app self must have way "tell" if user logged in or not.
i think php requirements make difficult. take @ socket.io or similar. achieve craftsmen having connection longpolling/sse/websockets. can integrate php serving html , set connection client on document ready socket.io.
Comments
Post a Comment