SSL vs Response.BinaryWrite

Ask a Question related to ASP, Design and Development.

  1. #1

    Default Re: SSL vs Response.BinaryWrite

    I am experiencing much the same thing here using BinaryWrite over SSL.

    Basically the exact same code that will deliver a PDF to the browser in
    a non-SSL environment results in in a dialog asking you to open, save
    etc. and when you try either of these you get a message saying the file
    is not available.

    The bizarre thing is that this works perfectly in Netscape, Opera and
    Mozilla browsers and (I'm told) in IE 5.5 sp 2 (only). All other
    versions of IE give the error.

    I have encountered numerous suggestions mostly about removing

    Response.AddHeader "pragma","no-cache"

    ... but none of these have so far worked.

    If anone has any other suggestions they would be greatly recieved right
    now as people are jumping up and down on me to come up with a solution!
    ;-)

    Ta,

    S.



    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Stuart Thorne-Jones Guest

  2. Similar Questions and Discussions

    1. BinaryWrite Problem
      Hi All, Please help me regarding the 'Response.BinaryWrite' I am making one web application where I need to store some of client logo's and...
    2. AW7 vs. DirectorMX for psychology experiment using response times AND response answers
      Hello, I'm very new to application design, but need to develop a web based application to use at multiple schools as part of an experimental...
    3. Response.BinaryWrite
      Hi, How can I output the Response.BinaryWrite content in an asp page that has html tags inside? I need to write the binary data to the client...
    4. Problems with BinaryWrite, IE and Adobe Reader 6.0
      Hi, I'm having some problems with the Reponse.BinaryWrite, IE 6.0 and Adobe Reader 6.0. When I try to write a pdf-file to an IE browser with a...
    5. HOW-TO: Response.BinaryWrite JPG *WITH* the original filename
      Hello. How can I Respose.BinaryWrite a file but preserving the original filename. Explaining better: Suppose a webform that displays images...
  3. #2

    Default Re: SSL vs Response.BinaryWrite

    Aha! ... For those still interested, I have found a solution ...

    In IE goto tools/internet options/
    Goto advanced Tab
    go down to Security.
    Uncheck the "do not save encrypted pages to disk".
    This will make downloading a pdf work in ssl.

    Entirely pilfered from elsewhere, but thought it might be useful.

    S.

    "Stuart Thorne-Jones" <stuart,thornejones@tns-global.com> wrote in message
    news:#$ZPY4#kDHA.3024@tk2msftngp13.phx.gbl...
    > I am experiencing much the same thing here using BinaryWrite over SSL.
    >
    > Basically the exact same code that will deliver a PDF to the browser in
    > a non-SSL environment results in in a dialog asking you to open, save
    > etc. and when you try either of these you get a message saying the file
    > is not available.
    >
    > The bizarre thing is that this works perfectly in Netscape, Opera and
    > Mozilla browsers and (I'm told) in IE 5.5 sp 2 (only). All other
    > versions of IE give the error.
    >
    > I have encountered numerous suggestions mostly about removing
    >
    > Response.AddHeader "pragma","no-cache"
    >
    > .. but none of these have so far worked.
    >
    > If anone has any other suggestions they would be greatly recieved right
    > now as people are jumping up and down on me to come up with a solution!
    > ;-)
    >
    > Ta,
    >
    > S.
    >
    >
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > Don't just participate in USENET...get rewarded for it!

    Smiley Guest

Posting Permissions

  • You may not post new threads
  • You may 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