mugsey
asked on
asp.net login control logged in event - keep getting return URL
I am using standard asp.net membership and roles that works fine.
Once logged in I am using the "logged in event" to authenticate to a third party forum application that also seems to work, ie, it does authenticate the user on the forum application.
However once authenticated on the forum I cannot get past the login screen, I keep getting the returnURL back to login page.
If I take out the forum authentication code it works fine.
Here is a sample of the code I use to authenticate once logged in
// create an instance of the ForumApp.ForumApp.Componen ts.User object
// from the user identity within the ForumApp_Users table
ForumApp.ForumApp.Componen ts.User User = new ForumApp.ForumApp.Componen ts.User(Us erID);
// and log the ForumApp.ForumApp.Componen ts.User object into the forums
User.Authenticate(false, false);
ForumApp.Common.Authentica tion.Authe ntication. Login(User , true);
However I cannot get past the login screen, if I take it out it works fine.
Once logged in I am using the "logged in event" to authenticate to a third party forum application that also seems to work, ie, it does authenticate the user on the forum application.
However once authenticated on the forum I cannot get past the login screen, I keep getting the returnURL back to login page.
If I take out the forum authentication code it works fine.
Here is a sample of the code I use to authenticate once logged in
// create an instance of the ForumApp.ForumApp.Componen
// from the user identity within the ForumApp_Users table
ForumApp.ForumApp.Componen
// and log the ForumApp.ForumApp.Componen
User.Authenticate(false, false);
ForumApp.Common.Authentica
However I cannot get past the login screen, if I take it out it works fine.
is it InstantForum that you use?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
yes it is and thank you for your replies!