Author: pankaj20 | Posted on: 5/5/2009 6:35:06 AM | Views : 269

 
Hello Experts,
Environment: ASP.NET
2.0
 
I am trying to download a file with simple
adding headers in response object.
it works fine in browsers other than
IE7.
 
Code to download file is as
below:
 
    Response.Clear();
   
Response.ClearHeaders();
    byte[] objBytes = new byte[2048];
   
objBytes = (byte[])Session["Bytes"];                       
    string
FileName = Session["FileName"].ToString();             ...

Go to the complete details ...