moodsman
  • Posts: 1
  • Joined: 06/11/2013
Apologies if this is old and rehashed to many of you, but I have been pulling my hair out trying to figure out how to integrate yaf.net into an existing website and have the 'parent' website handle all the login (ie users log in to the main website and that automatically logs them into the forum as well).

I realise this is probably not a new topic, but I cannot find any meaningful documentation about this issue and I have tried this  step-by-step guide but to no avail.

I am new to yaf.net (and fairly new to asp.net) and have inherited a broken site at my new job which i am trying to fix. So, before dumping all my errors and code on here and asking for solutions I thought I would create a topic to see if anyone has any tips or easy guidelines on how to do this as the last posts on this seem to be about 3 years old.

Any help at all would be greatly appreciated. Thanks!
Sponsor
bbobb
  • Posts: 1558
  • Joined: 21/10/2008
Do your parent site uses .NET Membership, Roles and Profile providers?
If not begin with it.
http://msdn.microsoft.co...26yfzy%28v=vs.98%29.aspx 
Basically, YAF has all providers, simply move existing data to them by writing a code if you don't have too many users and put a standard login control into your main appliication.
http://msdn.microsoft.co...us/library/ms178329.ASPX 
I think this is the easiest variant in your case.




Forum Jump  
  • You cannot post new topics in this forum.
  • You cannot reply to topics in this forum.
  • You cannot delete your posts in this forum.
  • You cannot edit your posts in this forum.
  • You cannot create polls in this forum.
  • You cannot vote in polls in this forum.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved