My application is developed in PHP and Symfony, and it's running on a standard apache2 configuration.
The problem arises when I try to leave a page while an ajax request is still executing. The script stops and returns a 500 error code. That happens with every ajax request regardless of what it does internally.
Is it the expected behavior?
I've tried out setting ignore_user_abort to true but it didn't seem to work.