SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Evangelist
    Join Date
    Jun 2008
    Posts
    455
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Reset HTTP headers

    Hi,

    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?

    Cheers

  2. #2
    SitePoint Wizard
    Join Date
    Dec 2003
    Location
    USA
    Posts
    2,582
    Mentioned
    29 Post(s)
    Tagged
    0 Thread(s)
    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.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •