Question Not Answered - XML Data that brings up "SAVE/RUN" prompt
Question Not Answered - XML Data that brings up "SAVE/RUN" prompt
am 13.10.2004 18:45:15 von John Kotuby
It must have been a dumb question, because nobody has bothered to answer. I
am trying to send a stream of XML data to the response object and have the
user at the IE Browser end be prompted to Save or Run the file. See question
posted 10/08. I have tried adding Header info such as
Response.ContentType = "application/save"
and
Response.AddHeader "content-disposition", "filename=testfile.xml"
to no avail. Mozilla shows the dialog because it doesn't understand the
mime-type "application/save". IE defaults to displaying the XML, which is
nice, but the purpose of the site is to transfer data that can be saved by
default.
Is there a way to tell IE to pop up the Save/Run dialog?
That's all I need to get accomplished.
Even if I save the stream to a file and send that to the Response object,
will IE put up the dialog?
How do I instruct IE to do so.
It is not that I am just too lazy to research....
Currently I am attending to 3 other projects (debugging a VB program, SQL
Server performance issue, and Site Security issue) that have been pushed to
the top of the list by management. But I still need to resolve the ASP site
issue in a couple of days. I really envy guys that can devote all their time
to just programming.
Please help...thanks
Re: Question Not Answered - XML Data that brings up "SAVE/RUN" prompt
am 13.10.2004 19:30:10 von Chris Hohmann
"John Kotuby" wrote in message
news:e%23fEXMUsEHA.3556@TK2MSFTNGP10.phx.gbl...
> It must have been a dumb question, because nobody has bothered to answer.
I
> am trying to send a stream of XML data to the response object and have the
> user at the IE Browser end be prompted to Save or Run the file. See
question
> posted 10/08. I have tried adding Header info such as
>
> Response.ContentType = "application/save"
>
> and
>
> Response.AddHeader "content-disposition", "filename=testfile.xml"
>
> to no avail. Mozilla shows the dialog because it doesn't understand the
> mime-type "application/save". IE defaults to displaying the XML, which is
> nice, but the purpose of the site is to transfer data that can be saved by
> default.
>
> Is there a way to tell IE to pop up the Save/Run dialog?
> That's all I need to get accomplished.
>
> Even if I save the stream to a file and send that to the Response object,
> will IE put up the dialog?
> How do I instruct IE to do so.
>
> It is not that I am just too lazy to research....
> Currently I am attending to 3 other projects (debugging a VB program, SQL
> Server performance issue, and Site Security issue) that have been pushed
to
> the top of the list by management. But I still need to resolve the ASP
site
> issue in a couple of days. I really envy guys that can devote all their
time
> to just programming.
>
> Please help...thanks
http://aspfaq.com/show.asp?id=2161
Re: Question Not Answered - XML Data that brings up "SAVE/RUN" prompt
am 13.10.2004 21:24:35 von John Kotuby
Thanks very much Chris
"Chris Hohmann" wrote in message
news:eEXjpiUsEHA.3460@TK2MSFTNGP15.phx.gbl...
> "John Kotuby" wrote in message
> news:e%23fEXMUsEHA.3556@TK2MSFTNGP10.phx.gbl...
>> It must have been a dumb question, because nobody has bothered to answer.
> I
>> am trying to send a stream of XML data to the response object and have
>> the
>> user at the IE Browser end be prompted to Save or Run the file. See
> question
>> posted 10/08. I have tried adding Header info such as
>>
>> Response.ContentType = "application/save"
>>
>> and
>>
>> Response.AddHeader "content-disposition", "filename=testfile.xml"
>>
>> to no avail. Mozilla shows the dialog because it doesn't understand the
>> mime-type "application/save". IE defaults to displaying the XML, which is
>> nice, but the purpose of the site is to transfer data that can be saved
>> by
>> default.
>>
>> Is there a way to tell IE to pop up the Save/Run dialog?
>> That's all I need to get accomplished.
>>
>> Even if I save the stream to a file and send that to the Response
>> object,
>> will IE put up the dialog?
>> How do I instruct IE to do so.
>>
>> It is not that I am just too lazy to research....
>> Currently I am attending to 3 other projects (debugging a VB program, SQL
>> Server performance issue, and Site Security issue) that have been pushed
> to
>> the top of the list by management. But I still need to resolve the ASP
> site
>> issue in a couple of days. I really envy guys that can devote all their
> time
>> to just programming.
>>
>> Please help...thanks
>
> http://aspfaq.com/show.asp?id=2161
>
>