title: Display image from byte array
body: <p>I have image byte array stored in session.</p>
  
  <pre><code>    Byte[] bytes = (Byte[])Session["STORED_IMAGE"];
  </code></pre>
  
  <p>I want display this in image control after postback. I have tried this code </p>
  
  <pre><code>    Byte[] bytes = (Byte[])Session["STORED_IMAGE"];
      Response.Buffer = true;
      Response.Charset = "";
      Response.Cache.SetCacheability(HttpCacheability.NoCache);
      Response.ContentType = "image/jpeg";
      Response.AddHeader("content-disposition", "attachment;filename=sandra");
      Response.BinaryWrite(bytes);
      Response.Flush();
      Response.End();
  </code></pre>
  
  <p>It displays the image. but also downloads it. I just want to display not download.
  Can anyone help me doing this?Thanks in advance.</p>