Add Session Value to HiddenField placed in web control
<pre><code>&lt;asp:HiddenField ID="mypostID" runat="server" Value=""/&gt;
</code></pre>

<p>I wanted to ask if I could do something like:</p>

<pre><code>&lt;asp:HiddenField ID="mypostID" runat="server" Value="&lt;% Response.Write(Session["ïd"])%&gt;"/&gt;
</code></pre>

<p>I cannot access the session from the user control code behind but if I put a Respose.Write on the page itself it shows the session value.</p>

<p>Thanks</p>
