say a php script executes a ruby script in the background each time, php script is run from the browser.
what would be an approach to associate the logged in user on the website, to the running background ruby script ?
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.
there are many users or clients that logs in to the site and runs many instances of the ruby script in the background individually.