Professional Web Applications Themes

Question Not Answered - XML Data that brings up "SAVE/RUN" prompt - ASP Database

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 ...

  1. #1

    Default Question Not Answered - XML Data that brings up "SAVE/RUN" prompt

    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



    John Guest

  2. #2

    Default Re: Question Not Answered - XML Data that brings up "SAVE/RUN" prompt

    "John Kotuby" <net> wrote in message
    news:e%phx.gbl... 

    question 
    to 
    site 
    time 

    http://aspfaq.com/show.asp?id=2161


    Chris Guest

  3. #3

    Default Re: Question Not Answered - XML Data that brings up "SAVE/RUN" prompt

    Thanks very much Chris


    "Chris Hohmann" <com> wrote in message
    news:phx.gbl... 
    > I 
    > question 
    > to 
    > site 
    > time 
    >
    > http://aspfaq.com/show.asp?id=2161
    >
    >[/ref]


    John Guest

Similar Threads

  1. Disable "prompt me to save passwords" programaticly?
    By SteveSu in forum ASP.NET Security
    Replies: 3
    Last Post: August 25th, 09:51 PM
  2. #12029 [Com]: "--with-apxs" can cause the error "MySQL: Unable to save result set in"
    By sietzepost at streetwisedd dot nl in forum PHP Development
    Replies: 1
    Last Post: October 3rd, 09:21 AM
  3. Save data to file or member("xx").text ?
    By Desmond22 webforumsuser@macromedia.com in forum Macromedia Director Lingo
    Replies: 1
    Last Post: July 29th, 09:53 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139