title: how to link web clients to the respective running background scripts?
body: <p>say a php script executes a ruby script in the background each time, php script is run from the browser.</p>
  
  <p>what would be an approach to associate the logged in user on the website, to the running background ruby script ?</p>
  
  <p>this is so the logged in user on the website can get feedback on the running ruby script they executed by visiting a section on the website. the user needs to also be able to terminate this running script.</p>
  
  <p>there are many users or clients that logs in to the site and runs many instances of the ruby script in the background individually.</p>