Passing password in session
<p>I am trying to set the password <code>textbox</code> back to the text entered before a <code>checkbox</code> is and has <code>AutuoPostback</code>.</p>

<pre><code>Session["passwordText"] = txt_Password.Text;
</code></pre>

<p>This is on my pageLoad and then I have tried to add(below) in my <code>CheckedChanged</code> but it says Method <code>Add</code> has 2 parameters and is invoked with 1 argument? What should i include with <code>passWord</code>.</p>

<pre><code>var passWord = Session["passwordText"].ToString();

txt_Password.Attributes.Add(passWord);
</code></pre>
