i want to integrate YAF with my application.
However YAF will be installed as different application on a different web server, the database server is shared (both applications use the same database server but may be hosted on different web servers). Bothe applications are sharing the user data (i can login in the forum with the userdata from my app, that already works nice)
Now i will allow the user to login into my application, click on a link and be redirected to the YAF installation. On the YAF installation the user should be authenticated.
I tried the various ways described for the integration but none of them seems to work if the application and the forum are different applications.
My idea was to set a cookie before redirecting to the forum and modify the forum source to auto-login the user if that cookie is detected. The problem is that i have no idea where to modify the forum source.
What is the best place to implement such an auto login in YAF (Page_Load in the main user control?)
Thanks in advance,
The plan is to submit a paraneter (ok, cookies are not working in that scenario, i forgot) that contains the user name to the forum. If that parameter is present the forum would set the auth cookie and redirect to the start page. That should work to authenticate the user, right?
But where do i have to modify the source (in Page_Load of the forum.ascx? or would it be better to do that in the code behind of default.aspx - which has to be created?)
Works really great.