We have some users who when they open an excel file on my website it takes ages. If they simpely Save as and then open it's quick. They have the same issue on other sites so it's a problem on their side. However is there a way to force the browser to only offer save and not offer open?
As noted here: Is there a way to force the user to download a file from a href link rather than to open it in a browser window? and here: Forcing to download a file using PHP I'm currently using:
Response.ContentType = "application/ms-excel";
Response.AddHeader("content-disposition", "attachment; filename=Report.xlsx");
Response.AddHeader("Content-Length", new System.IO.FileInfo(fileName).Length.ToString());
But this is still offering the open option.
Is there a way to force this or is it simply dependent on the users browser settings.