l4dd13 — 2012-02-27T08:49:18-05:00 — #1
This may sound daft.
I've build a script which gets records from DB, puts them in a CSV and forces a download using the headers, etc.
When I try to use a header to redirect afterwards, nothing happens.
Do I have to 'reset' the headers?
If so, what are the default headers?
samanime — 2012-02-27T11:49:56-05:00 — #2
No, you shouldn't have to reset them or anything.
You pretty much can't do that. What you normally do is go to the "after" page and then start the download.