I found the answer use a database server to store the messages and every 3 seconds make a refresh for the Mobile page to get the messages from the database