Right now I have an asp:Wizard with 3 Steps.
- Create User
- Form to Email
- Summary of Fields
When the finish button is clicked on the third step I would like to Create the user and send the form. I have the logic for this written but the only problem I have is the when the next button is pressed on a wizard, a PostBack occurs and my password field:
<asp:TextBox ID="txtPassword" TextMode="Password" Width="70%" runat="server" />
Does not retain its value.
What would you suggest would be the most secure and practical method for me to overcome this problem?
I would probably develop a class representing the data that will be created by the wizard:
Then on each step through the wizard I’d update this class and store it in session:
Or you could just store the password in Session and retrieve it later: