I want my user to download a file
to Achieve this I have the following:
Response.AddHeader "content-disposition", "attachment;filename=Download.csv"
A dialog box pops up and the user can save the file. Once this is done however I want to automatically close the download.asp page. How can I do this?
I have changed the addheader command to inline instead of attachment, which works nicely. There is a knock on problem then however that when the file appears in excel it's puts all the comma separated data in one cell! How can I get round this?
to Achieve this I have the following:
Response.AddHeader "content-disposition", "attachment;filename=Download.csv"
A dialog box pops up and the user can save the file. Once this is done however I want to automatically close the download.asp page. How can I do this?
I have changed the addheader command to inline instead of attachment, which works nicely. There is a knock on problem then however that when the file appears in excel it's puts all the comma separated data in one cell! How can I get round this?