title: How to send a byte array parameter to a generic handler from the codebehind file in vb asp.net
body: <p>Any server based (not occurring on localHost) IIS loses the session because new windows are started under new processes - "per google search results"</p>
  
  <p>In my case I'm using Session("fileData") = fileData</p>
  
  <p>this is how i redirect my page</p>
  
  <pre><code>Page.ClientScript.RegisterStartupScript(Me.GetType(), "OpenPDFScript", "window.open('OpenPDFNewWindowHandler.ashx', '_blank');", True)
  </code></pre>
  
  <p><strong>Instead of saving my fileData to a session variable, can i pass it as a parameter to the generic handler? Or maybe their is a better way?</strong></p>