
May 6th, 2011, 10:08 AM
|
|
Contributing User
|
|
Join Date: Apr 2004
Posts: 58
Time spent in forums: 12 h 42 m 10 sec
Reputation Power: 10
|
|
|
Generated CSV File 'Locked for Editing' (IE Only)
My script is generating a simple CSV file (relevant code below). Everything works great in Firefox. When the script is run in the browser, it automatically generates the CSV and allows user to Open directly in to Excel.
In IE, when opening the CSV file, the user is greeted with this error message:
Quote: | busCards.csv is locked for editing by 'another user.' |
The client will be using IE so I'm trying to figure out how to fix this. Anybody have any ideas? Much appreciated!!
Code:
<%
response.ContentType="application/octet-stream" Response.AddHeader "content-disposition","attachment; filename=busCards.csv"
Dim Spreadsheet
Spreadsheet = Request.Form("csv_text")
Response.write Spreadsheet
Response.End()
%>
Last edited by mapenn : May 6th, 2011 at 01:11 PM.
|