Author: rippetoe | Posted on: 6/18/2008 4:31:59 PM | Views : 428

 Hello.
 In my application I am storing some data in the UserData property of the AuthenticationTicket. I use the data in UserData to determine what menu items should be displayed.
I have also set up a 'Change Password' page in the app. When a person uses the changepassword control, the AuthenticationTicket gets reissued. I know this by comparing the value of UserData before the password is changed and after it is changed (the value of UserData is always "" after the password change) and 2) the time in the IssueDate property is changed after the password is changed.
Some interesting (to me) notes are that the original values of UserData and IssueData are maintained in the OnChangingPassword and ChangedPassword events of the changepassword control.  Even in the <SuccessTemplate>, the original AuthorizationTicket is maintained (I know by the menu items that are on the page.) It seems that the AuthenticationTicket is re-issued w ...

Go to the complete details ...