Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: Netscape 6.01


Message #1 by "S. Naeem" <sh_naeem@h...> on Thu, 29 Mar 2001 21:29:39 -0000
Does any one has any idea about why Netscape 6 does not support CSV file 
types. Does any one has any experiences.
I am using following code to display a dialog box to save a csv file 
attachment to client system. I am using ASP. On IE, it works fine only it 
gets open file dialog box twice if clicked open it from current location.


<%
Response.Buffer = true
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.Expires = -1441
Response.CacheControl="no-cache"
Response.ContentType = "text/sidg-csv"
'set objBinaryFile = Server.CreateObject("BinaryFileStream.Object")
'Response.BinaryWrite objBinaryFile.GetFileBytes(CStr("DownloadCSV.csv"))
'set objBinaryFile = nothing
Response.AddHeader "Content-Disposition", "attachment; 
filename=DownloadCSV.csv"
Server.ScriptTimeout = 6000

	Response.Write "Got the thing"
	Response.Flush
%>




_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


  Return to Index