PHP使用ignore_user_abort的问题

A页面中为

            ob_end_flush();
            ob_start();
            echo "true";
            header("Connection: close");
            header("HTTP/1.1 200 OK");
            $size=ob_get_length();
            header("Content-Length: $size");
            ob_end_flush(); 
            flush(); 
            ignore_user_abort(true);
            set_time_limit(0);
            sleep(10);
*********下面还有继续执行的代码*************
.....
..

然后B页面通过ajax获取到A页面的返回值true,然后用户可以浏览其它页面,A页面还能继续执行下面的代码(全部执行完大概要20-30s)

          $.post('xx.php',  function (data) {
                    if (data == "true") {
                   //OK!
                        });

但是,现在的问题是,可以获取到返回值了,但是必须等待A页面完全执行完,才能浏览服务器其它所有页面,请问哪里出了问题吗?

http://www.jb51.net/article/52182.htm