I have done a website using php which basically does task of recording videos from a IP camera in the background. So here is what i do I login into my account and then hit a record button which calls the backend ajax script which executes a program and records videos successfully and stops as soon as i refresh or reload the page. Now what i want is the video recording script should continue in the background to record videos even after the user logout. how can i accomplish this task . Can anyone give me a simple idea to do this?
Have a look at my video recording code using ajax. click here Video recording is done by start.php which contains main logic.