force the code to keep running after page closes
<p>i have a While loop (function) that works for several minutes , sometimes it can take up to 10 minutes and sometimes for 30 minutes.</p>

<p>i don't want to let the user wait with the web-page window open for 30 minutes , i want to let the user close the window and let the loop continue by it self.</p>

<p>i want the user to open the web page click on a button to start the function and then close the page and let the function work by it self.</p>

<p>is there any chance anything like that is possible?</p>
