ashx method call - make reusable
<p>i have an ashx file that creates a binary csv file for me. i'd like to be able to pass it any generic list.</p>

<p>i know i can put the list in session and then pick it up in the generic handler but will that acceptable under heavy loads?</p>

<pre><code>   byte[] csvData = Utility.ToCsv(",", DAL.GetProducts());

    context.Response.OutputStream.Write(csvData, 0, csvData.Length);
</code></pre>

<p>it would be nice if i can run any query within the handler (instead of hard-coding DAL.GetProducts()). what are some ways to do this?</p>
