Server unresponsive after AJAX call is aborted?

When you abort the ajax request, the PHP script actually continues to run If you use sessions, the user's session is locked by the running script, and you have to wait for the script to terminate before being able to do an other request This is the exact same problem as in Server workload increase during php image resize The solutions is to unlock the session before doing very long things: session_write_close(); do_something_long(); session_start().

When you abort the ajax request, the PHP script actually continues to run. If you use sessions, the user's session is locked by the running script, and you have to wait for the script to terminate before being able to do an other request. This is the exact same problem as in Server workload increase during php image resize The solutions is to unlock the session before doing very long things: session_write_close(); do_something_long(); session_start().

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions