InstantASP Community Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



User Login Integration Expand / Collapse
Author
Message
Posted 21/02/2007 05:48:46
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 05/09/2007 10:18:58
Posts: 42, Visits: 64
 have a login on my current site that I would like to use to kickoff authentication to IF.

I have read all the documentation and have set up the web.config in both apps.

(Both my current website and IF are in different web apps and its in C#)

I am using the following to authenticate

int intUserID = InstantASP.Common.Authentication.Authentication.UserExists(email);

if (intUserID > 0)

{

InstantASP.InstantForum.Components.User user = new InstantASP.InstantForum.Components.User(intUserID);

user.Authenticate(true ,false );

Response.Redirect("/for");

}

However when I redirect, it just logs me in as a guest.

Obviously Im missing something.



Robert J. DeVitis
Information Systems Manager
CLMA 

Post #12400
Posted 26/09/2007 02:35:34
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 27/09/2007 01:54:36
Posts: 5, Visits: 5
Did you have any joy with this?

I'm currently experiencing the exact same problem.
Post #13373
Posted 26/09/2007 04:19:58
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: 2 days ago @ 14:17:15
Posts: 280, Visits: 625
some users have found that calling InstantASP.Common.Authentication.Authentication.Login(...) can resolve this issue for their applications, it depends how their own base app is handling login of course.


Kindest Regards,

James Trott
Developer

Post #13377
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ryan Healey, Mark Christianson, Bare, James Trott

Permissions Expand / Collapse

All times are GMT, Time now is 12:04am

Powered by InstantForum.NET v4.1.4 © 2009
Execution: 0.094. 10 queries. Compression Disabled.
Home | Products | Purchase | Support | Company | Contact Us
Privacy Statement | © 1999-2007 InstantASP Limited. All Rights Reserved.