Re: Download in IE and Firefox

Discussion in 'HTML' started by Paul Lautman, Aug 14, 2008.

  1. Paul Lautman

    Paul Lautman Guest

    sheldonlg wrote:
    > sheldonlg wrote:
    >> What is sent from php is as follows:
    >>
    >> Headers (done with header calls):
    >> Content-type: application/vnd.ms-excel
    >> Content-Disposition: attachment; filename=foo.xls
    >> Pragma: no-cache
    >> Expires: 0

    >
    > I solved the problem and am posting it here so that others can gain
    > from my experience.
    >
    > It seems that IE6 has a problem downloading from secure server (https)
    > sites. That is why my sample app (http) worked but my real app
    > (https) didn't. The problem is in the no-cache statement. So when I
    > commented out the header line that generated the "Pragma: no-cache",
    > it all worked fine.


    But you still have the IE7 problem right?
     
    Paul Lautman, Aug 14, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ryan Taylor
    Replies:
    2
    Views:
    983
    Ryan Taylor
    Nov 10, 2004
  2. Steve C. Orr [MVP, MCSD]
    Replies:
    0
    Views:
    1,647
    Steve C. Orr [MVP, MCSD]
    Mar 7, 2005
  3. Replies:
    1
    Views:
    707
    Lothar Leidner
    Oct 11, 2006
  4. John Hosking

    Re: Download in IE and Firefox

    John Hosking, Aug 14, 2008, in forum: HTML
    Replies:
    1
    Views:
    411
    dorayme
    Aug 14, 2008
  5. Us
    Replies:
    14
    Views:
    1,051
Loading...

Share This Page