KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Suppose I make an AJAX HTTP Request from jQuery to a backend PHP script. The request is made, the PHP script starts running and doing its magic. Suppose I then change to another website, away from the site where the original AJAX Request was made. As well, I do this before the PHP script finishes and has time to do a HTTP Response back. Does the PHP script finish running and doing its thing even though I've switched to another website before I got the HTTP Response? So the order is this. I'm on website www.xyz.com I have a jQuery handler that kicks off an AJAX request to blah.php blah.php starts running I go to website www.abc.com soon after without waiting for a response from blah.php What's going on with blah.php? Is execution still going on? Did it stop? I mean it didn't get a chance to respond so...
Tags (comma-separated)
Save Edits
Cancel