Liz,
I have just tried this ASP response and the first time i browsed that page it tried to open the named PDF document, but then each time after that, nothing. I'm not that hot on ASP but it did the same for me as for you.
However, when it did 'work' it opened the PDF document from it's current location, something that can be done with the following javascript:-
in the head section of the page,
function opendoc () {
window.open('a.pdf', '_blank')
}
then,
<body onload="opendoc();">
What i am trying to do with this is force the docuemnt to be downloaded rather than openned from where it is.
To explain a bit more, if you click on a link to PDF document and you have acrobat reader, it will try and open it (likewise with any office document if you have MSoffice installed).
If these documents are quite big, you end up with a blank window that stays blank until the entire docuemnt is downloaded (a long time for over 1MB on a dial-up connection) and this can timeout or fail easily, but if links are set to a particular content-type (??) then clicking would automaticaly initiate a download.
I just cant find out how this is done.
The info given by SMSFORCE above is exactly what i'm looking for, but as ever the information on the microsift site isn't clear about exactly what you need to do to acheive this, it just strongly suggests it can be done.
Thanks anyway,
Jez
