title: session login control
body: <p>i was unable to create session using login control. It supposed to be put in submit button, so i convert to template and double click at the login button, write :</p>
  
  <pre><code>session ["username"] = UserName.text
  </code></pre>
  
  <p>Since the textbox id for username field is UserName, so i put UserName.text unfortunately the id is giving me error.</p>
  
  <pre><code>UserName does not exist in current context.
  </code></pre>
  
  <p>So, what should i do to keep the username in session. Any suggestion?
  Thank you.</p>