plumber9
May 7th, 1999, 12:19 PM
Does anyone know how to make an ASP change it's mime-type?
Take into consideration, the following:
<%
Response.Write "Line 1"
Response.Write Chr(10)
Response.Write "Line 2"
Response.Write Chr(10)
Response.Write "Line 3"
Response.Write Chr(10)
%>
When viewed, it would look like this:
Line 1 Line 2 Line 3
When I want it to look like this:
Line 1
Line 2
Line 3
My true goal is to use ASP to output a TXT document, not ASP/HTML formatted data. My thought is, change the mime-type from text/html to text/plain. Can this be done with ASP???
Any help, suggestions, etc. would be GREATLY appreciated.
-p9
Take into consideration, the following:
<%
Response.Write "Line 1"
Response.Write Chr(10)
Response.Write "Line 2"
Response.Write Chr(10)
Response.Write "Line 3"
Response.Write Chr(10)
%>
When viewed, it would look like this:
Line 1 Line 2 Line 3
When I want it to look like this:
Line 1
Line 2
Line 3
My true goal is to use ASP to output a TXT document, not ASP/HTML formatted data. My thought is, change the mime-type from text/html to text/plain. Can this be done with ASP???
Any help, suggestions, etc. would be GREATLY appreciated.
-p9