From: John W. <jw...@ne...> - 2000-09-16 04:23:20
|
I was able to get the downloads working fine in IE by upgrading to the latest build of PHP4 (which I got from http://snaps.php.net) and then making the following small change at the top of src/download.php I added: if ($absolute_dl=true) { // quick hack to allow IE to download session_cache_limiter('private'); } right before: if (!isset($page_header_php)) include("../functions/page_header.php"); In my few minutes of testing this seems to allow IE to download attachments just fine. Note that you need a fairly recent beta of PHP4 to get the session_cache_limiter() function. I'm not an HTTP protocol whiz, so I really don't know what the side effects of this hack might be, and this depends upon $absolute_dl being passed in the URL. If someone else can shed some light that'd be great. Also, I haven't tested this with any browsers other than IE5. --JW > -----Original Message----- > From: squ...@li... > [mailto:squ...@li...]On Behalf Of John > Williams > Sent: Thursday, September 14, 2000 5:01 PM > To: squ...@li... > Subject: RE: Download with IE > > > > I got two gripes with the session mechanism currently, one is > the magical > > Expires: and other headers that are automatically inserted. The other > > is the inability to control cookies on a per-call basis. I > already showed > > what I did to get around the extra headers. > > Hey, I just noticed something: > > http://www.php.net/manual/function.session-cache-limiter.php > > would that help? Sorry, I'm still learning PHP's functions and I haven't > tried that call yet myself. It'd be great if there was an > argument to that > function that just skipped the expire header.. > > --JW > > |