Passing a value from Page_Load to Form with POST
<p>I'm really new to ASP and have a project where I need to capture the login of the person logged into Sharepoint.  I have created the following code and am able to get the login.  I am having trouble pass the parameter to a form.  What is the best way to do this:  I know the 2nd part the POST is wrong,  I don't know what to do here.  Thanks for your help.  Scott</p>

<pre><code>&lt;script language="C#" runat="server"&gt;void Page_Load(Object sender, EventArgs e)
   {
    string userName = "NA";

userName = HttpContext.Current.User.Identity.Name;
    string userWithoutDomain = userName.Substring(userName.IndexOf('\\') + 1);

    myuserid.Text = userWithoutDomain;
    }
&lt;/script&gt;


&lt;html&gt;
&lt;body&gt;


&lt;form method="POST" action="http://srs.xxx.edu:9001/signon/authenticate.asp" id="myuserid" name="myuserid"&gt;

    &lt;input type="hidden" name="COOKIEPATH" value="/SRS/"&gt;


    &lt;input style="width:70px;font-size:8pt;" size="8" name="myuserid" &gt;
    &lt;input style="width:70px;font-size:8pt;" size="8" name="myuserid" &gt;

    &lt;input class="button" type="submit" value=" Log On " style="display:none;"&gt;

 &lt;/form&gt;

  &lt;form id="form1" runat="server"&gt;
     &lt;asp:label id="myuserid" runat="server" /&gt;
  &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
