i installed yet another forum(yaf) code successfully and integrated it with blog engine 2.0 successfully.Now I wanted to have the common login for both blog engine 2.0 and yaf i.e when i login for blogengine2.0 automatically yaf has to be logged in .Can anyone suggest me the solution?
i installed yet another forum(yaf) code successfully and integrated it with blog engine 2.0
Share
Change the MembershipPorivder in the webconfig to the following:
This method here will create a YAFUser, all these methods are extracted from code the YAF library i just worked a lot on them to extract everything i want:
This function is used to Login the YAFUser:
After that go to YAFMembershipProvider.cs and add an overload method like the following:
In this i have given a 99% percent, the rest is just plain simple coding, as for the blog you should use the same concept. Search through the DataLayer and get all the methods that you need to sync between as many applications as you want.