Login with 3 values (firstID, secondID, password) using
FormsAuthenticationTicket
Quick question,
I want a user to login using 2 loginid's (username and some ID generated
by me), FormsAuthenticationTicket createTicket has an overload that has a
property for 'user data'. Is this suitable for storing the 2nd ID? Is this
still safe? (I assume so since the entire cookie will be encrypted).
Alternative would be to store both id's in the username field of the
cookie (wont be a nice solution..)
Thanks!
No comments:
Post a Comment