Esempio n. 1
0
    protected void btnReSet_Click(object sender, EventArgs e)
    {
        //create an instance of the security class
        clsSecurity Sec = new clsSecurity();
        //initiate the password re-set process
        string Outcome = Sec.ReSet(txtEMail.Text);

        //update the session variable
        Session["Sec"] = Sec;
        //display the outcome of the operation
        lblError.Text = Outcome;
    }