YAFLogo

sbayd
  • sbayd
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
12 years ago
Hi,

I have successfully integrated yaf into my MVC 3 web site.

and I have integrated registration too.

But now, ı want to when user log in my web site, user log in forum.

How can I do this?

Best Regards,

And I am sorry for my bad english.

Sponsor
sbayd
  • sbayd
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
12 years ago
How Can I login my forum with my websites login panel?
JP
  • JP
  • 100% (Exalted)
  • YAF Leader
12 years ago
What I have done is to use the same "Machine Key" in IIS for the forum application and my MVC3 application...

They are not really "integrated" but work together...

So, in IIS Manager for your site go to Machine Key management - uncheck all the autogenerate checkboxes...

Press the Generate Key in the right-hand menu.

The generated static Validation & Decryption key should appear in in the fields.

Go to the forum application in IIS, uncheck the autogenerate checkboxes there too - and then copy the keys you generated for the site into the corresponding fields.

And then your site login should also work for the forum and vice versa...

If you have managed to truly integrate the forum application into your MVC3 application, I would be very interested to know how you did it...

Edit - This goes for IIS7, don't know how to do if you use IIS6 or older.


He who asks a question is a fool for five minutes. He who does not ask a question remains a fool forever. [Old Chinese Proverb]