I am downloading files from my server using a very simple script:
header(\'Content-Description: File Transfer\'); header(\'Content-Type: application/octet-st
This is because you are using PHP sessions, and while a session for one user is opened in one request, the same session cannot be opened in an other request.
Do a session_write_close() before readfile().