Asp.net Memebership Authorization without password
问题 To authanticate users in Asp.net Membership we can call method FormsAuthentication.Authenticate(username, password) how can I do the same job (generate session, cookies and all other staff that Authanticate does) without users password? I'm trying to login user over facebook connect. User's facebook id is stored within the users data. User should be signed in like a normal user. 回答1: I think you can use the SetAuthCookie method. more info here http://msdn.microsoft.com/en-us/library/system