keep surfing while forcing a download
Posted: Tue Oct 04, 2005 7:36 am
the title isn't very clear i admit that but didn't know a nice and snappy title 
I have a membersection on my website where people can download movies.
I serve these movies with:
no problems. all works fine. But while you are downloading you can't surf further on the website. The movies are about 500 Mb each so i would like it for our customers that they can proceed navigating our website while downloading the movie in the background. Or at least have two downloads at the same time.
Anybody have any idea why the website stops while downloading? As soon as i cancel the download the website loads fine again. But while downloading a movie everything stops.
Thanks
I have a membersection on my website where people can download movies.
I serve these movies with:
Code: Select all
header("Cache-control: private");
header("Content-type: application/x-download");
header("Content-Disposition: attachment; filename=$downloadmovie;");
header("Accept-Ranges: bytes");
header("Content-Length: $download_size");
readfile($file_server_path);Anybody have any idea why the website stops while downloading? As soon as i cancel the download the website loads fine again. But while downloading a movie everything stops.
Thanks