Im trying to make a browser game with HTML5, but i have all the rex plugins etc, but i cant seem to figure out how to extract the time from how long a user has been away from the app, without background mode plugin. Also I am confused on how to write to SQL databases, like the users level for instance. my goal is to make a browser based online game.