Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Stream mhtml to browser

Reply
Thread Tools

Stream mhtml to browser

 
 
mparker@costar.com
Guest
Posts: n/a
 
      12-15-2003
Can a mhtml page be streamed to the browser? I tried creating a web
page that generates a mhtml file. I'm using the following headers:
Response.ContentType = "message/rfc822";
Response.AddHeader("content-disposition", "inline;
filename=test.mht");
and am dynamically building the mhtml file. Unfortunately, this
causes a browser syntax error.

The best I've been able to do is get the page to open as an attachment
- Response.AddHeader("content-disposition", "attachment;
filename=test.mht") but I get the dreaded file open dialog.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft Internet Explorer MHTML URI Buffer Overflow Vulnerability Imhotep Computer Security 0 06-03-2006 02:52 AM
Announcement: Cool MHTML library available for review (pre-alpha). Peter Rilling ASP .Net 0 02-09-2006 03:54 AM
MHTML Streaming =?Utf-8?B?TUVSNzg=?= ASP .Net 2 02-06-2006 07:13 PM
'mhtml' files Earl Costello Computer Support 5 03-10-2005 07:05 PM
Emitting mhtml to browser with ASP.NET Jason von Bartheld ASP .Net Building Controls 0 05-26-2004 06:46 PM



Advertisments
 



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