Streaming inline excel content appears to lose session and replaces excel content with login page
Posted on 2004-09-01
I'm having a problem with an ASP.NET (C#) web application, I'm trying to display an excel spreadsheet inline using the following code:
Response.SuppressContent = true;
This works perfectly on my development server but on a production server it opens the Excel viewer inline but instead of the spreadsheet it displays the login page (inside the excel viewer). An alternative code path that downloads the excel file as an attachment works fine.
So, it seems to be losing the session when executing on our 2003 server?