Response.Clear(); Response.ContentType="image/jpeg"; Byte[] tData=this.Sessionn["tdata"] as Byte[]; if(tData!=null) { Sessionn.Remove["tdata"] ; Response.OutputStream.Write(tData,0,tData.length); } Response.Fulsh(); Response.End();