title: Bypassing ASP.NET's One RUNAT SERVER FORM per page
body: <p>ASP.NET restricts using more than 1 <code>runat="server"</code> form.</p>
  
  <p>I have a <strong>Master Page</strong>, currently with no form.</p>
  
  <p>I have many other pages, some with a form (Register.aspx - Login.aspx), some without a form.</p>
  
  <p>I would like to add a <strong>Logout button</strong> in the master (After a user has logged in).</p>
  
  <p>This is kind of normal, the <strong>Logout button</strong> should always be there.</p>
  
  <p>But to use this <strong>ASP Button Controller</strong> I need to use a <strong>form</strong> in the Master Page.</p>
  
  <p>Means, I will not be able to access other pages that has forms because I will receive an error.</p>
  
  <p>I already have other ideas to bypass this.</p>
  
  <p>1- Using <strong>JQuery</strong> to Load a <strong>Handler</strong> using <strong>Ajax</strong>, clear the Session.</p>
  
  <p>2- Make the Logout a <strong>link</strong> which looks like a button, click on it to load another <strong>.aspx page</strong>, in the Page Load method, clear the Session, then redirect, sounds like the first one...</p>
  
  <p>3- Make it a link which takes me to the same page (Default.aspx?logout=1) &lt;- and check this <strong>parameter</strong> inside the Page Load method, if it's there, clear the Session.</p>
  
  <p>Are these good approaches? is there any better?</p>