Hi,
I'm working on a php proyect. I need to redirect the user to other page and keep working in background, for that i use:
@ob_end_clean();
@ob_start();
@ignore_user_abort(true);
header("Status: 302");
header('Location: '.$href, true, 302);
header("Content-Length: 0", true);
header("Connection: close", true);
echo str_repeat("\r\n", 128); // for IE
@ob_end_flush();
@ob_flush();
@flush();
that is working on Apache severs, but for some reason litespeed is not sending content length header, and the browser omit the location header.
there is some way to do this?
Regards Ivan
I'm working on a php proyect. I need to redirect the user to other page and keep working in background, for that i use:
@ob_end_clean();
@ob_start();
@ignore_user_abort(true);
header("Status: 302");
header('Location: '.$href, true, 302);
header("Content-Length: 0", true);
header("Connection: close", true);
echo str_repeat("\r\n", 128); // for IE
@ob_end_flush();
@ob_flush();
@flush();
that is working on Apache severs, but for some reason litespeed is not sending content length header, and the browser omit the location header.
there is some way to do this?
Regards Ivan