A
Aaron Fude
Hi,
When
window.location.reload(true);
is executed, is the browser supposed to take notice of the fact that
the content type may have changed (say, from text/html to image/jpeg)
and that the new content should be handled differently? If the answer
is "yes", does Internet Explorer follow this rule?
Thanks!
Aaron
PS: This is an unrelated question. I sometimes post a pdf file on my
website, but I forget to set the permissions, so the user gets a
"cannot view this file" message. When I am notified, I fix the
permissions, but when the user hits Refresh, they get raw pdf instead
of having Acrobat open the file. In some cases they need to hit Ctrl-
Refresh and in other cases they need to close the browser and open it
again. I'm assuming it's a browser issue that I have no control over
(except for setting permissions correctly the first time). I don't
really have a question here.
When
window.location.reload(true);
is executed, is the browser supposed to take notice of the fact that
the content type may have changed (say, from text/html to image/jpeg)
and that the new content should be handled differently? If the answer
is "yes", does Internet Explorer follow this rule?
Thanks!
Aaron
PS: This is an unrelated question. I sometimes post a pdf file on my
website, but I forget to set the permissions, so the user gets a
"cannot view this file" message. When I am notified, I fix the
permissions, but when the user hits Refresh, they get raw pdf instead
of having Acrobat open the file. In some cases they need to hit Ctrl-
Refresh and in other cases they need to close the browser and open it
again. I'm assuming it's a browser issue that I have no control over
(except for setting permissions correctly the first time). I don't
really have a question here.