I had tried it with both cases, actually, just to be sure. It did not
make a difference. If the session is sending a no-cache header, would
then sending a no-store one cancel the other out, or just add to it?

---John Holmes...

> -----Original Message-----
> From: Chris Shiflett [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 07, 2002 8:45 PM
> To: Rasmus Lerdorf
> Cc: 1LT John W. Holmes; [EMAIL PROTECTED]
> Subject: Re: [PHP] File download doesn't work with SSL
> 
> Are you sure?
> 
> I think (I might be wrong) using PHP sessions automatically sends the
> Cache-Control header. I cannot remember what directives it uses.
> 
> Perhaps the fact that you do not use correct case makes PHP miss the
> fact that you want to reassign Cache-Control to use a different value?
> If this is true, you might be sending:
> 
> Cache-Control: no-cache
> cache-control: no-store
> 
> Just an idea ...
> 
> Chris
> 
> Rasmus Lerdorf wrote:
> 
> >Nope, PHP does not send that.
> >
> >On Mon, 7 Oct 2002, 1LT John W. Holmes wrote:
> >
> >
> >
> >>I believe in miracles. I have searched Microsoft and the first link
was
> >>actually related to my problem...
> >>
> >>Okay, I found an IE issue where downloads over SSL will choke when
you
> send
> >>a no-cache header. It says to use a no-store cache-control header,
> instead.
> >>I tried this:
> >>
> >>    header("cache-control: no-store");
> >>    header("content-type: application/vnd.ms-excel; name='excel'");
> >>    header("content-disposition: attachment; filename=" . $filename
.
> >>".xls");
> >>
> >>and I'm still getting the same thing. Is the no-cache cache-control
> header
> >>sent automatically by PHP at all? I don't have one set explicitly in
my
> >>code.
> >>
> >>Any help is appreciated.
> >>
> >>---John Holmes...
> >>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to