Download bug in IE

Download bug in IE

by Jarkko Leponiemi -
Number of replies: 6

Hi,

The well-known IE dowload bug (or feature) began to trouble the Lesson module in Moodle version 1.5. As you might well know, IE puts the files to be opened by an external application to the cache directory. If caching has been prevented with headers, the external application cannot open the file.

From '/file.php' (not in '/mod/lesson'):

---line 83---
$lifetime = 0; // do not cache assignments, students may reupload them
---

This line prevents caching of files posted as assignments, and also makes it very hard to download the files for grading.

I fixed this by setting the value to 10 (seconds). It might even be a smaller value. I do not think that the comment (do not cache...) applies to short life times, does it?

Average of ratings: -
In reply to Jarkko Leponiemi

Re: Download bug in IE

by Petr Skoda -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers
I have not heard any complaints about it yet and it works for me with Win XP + latest IE. The problem is known to exist when using "https://", but it should work on normal http sites.

Does it happen on all clients or only on some of them?
What versions of Windows, Office and IE are you using?
Did you install all servicepacks for all of them?

I would like to sort this out ASAP.


skodak
In reply to Petr Skoda

Re: Download bug in IE

by Jarkko Leponiemi -
You are right, the problem exists only in "https://", and yes, we are using it.

I tested it on my own computer with automatic updates enabled, the version of IE can be seen in the attached image.

I have Office XP, not the newest possible, the staff in our University can have different versions installed.
Attachment ie.gif
In reply to Jarkko Leponiemi

Re: Download bug in IE

by Jarkko Leponiemi -
Hi again,

Hold on a minute. I will ask for the details of the software in someone elses computer. I actually managed to download a file correctly a minute ago.

Note that I really did have download problems last week and I did get a request from a member of our staff regarding these problems today.

Regards, Jarkko.
In reply to Jarkko Leponiemi

Re: Download bug in IE

by Petr Skoda -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers
In any case I am planning some changes for 1.5.2, if everything goes smoothly this problem should be history soon wink

skodak
In reply to Jarkko Leponiemi

Re: Download bug in IE

by Jarkko Leponiemi -
Darn it! Wrong forum!

The original message was about Assignment-module, not Lesson-module. Sorry about the confusion! sad

In reply to Jarkko Leponiemi

Re: Download bug in IE

by Petr Skoda -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers
big grin no problem, if Martin or Eloy notices it, they can move it later.