vnd.ms-excel Session State Expires
Iam dynamically trying to send my html table report to a excel spread
sheet, by setting following headers. Basically user picks a report name from
a aspx page and report type ("EXCEL"). I clear aspx page of all controls and
use Response.Write to author a HTML page.
Response.ContentType = "application/vnd.ms-excel";
Response.ContentEncoding = System.Text.Encoding.UTF8;
After the first report has been generated and if we use the back button to
create another report. ASP.NET redirects the user to the login.aspx page
which is the default redirect page when session expires. ie. Login.aspx
opens in excel.
It looks like the session state expires, we are using instate session,
cookieless session state. The correct reponse would be basically the second
should just open in excel overwriting the oldone instead of redirecting.
This was the default behavior until few months we dont know what happened.
Any Help will be appreciated.
|All times are GMT. The time now is 09:02 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.