TaNoBi
  •  TaNoBi
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter
2015-07-24T08:20:05Z
Hi all!
I use login of YAF.
I want to login by url. Format url:http://localhost:42648/yaf_login.aspx?returnurl=%2fdefault.aspx&i="string".
string: encrypted password, username.
when I enter url if username,pass true then go to forum.
I try set Authenticated = true if check string return true. but not go to forum, it stay login.
this.Login1.RememberMeSet = false;

AuthenticateEventArgs auth = new AuthenticateEventArgs();
auth.Authenticated = true;
Login1_Authenticate(this, auth);
LoginCancelEventArgs log = new LoginCancelEventArgs();
Login1_LoggedIn(this, log);

I think I'm still missing something.
Help me, please! Thank!
Sponsor
tha_watcha
2015-07-25T13:37:02Z
Did you tried to do a manually redirect?

Response.Redirect(this.Login1.DestinationPageUrl);

UserPostedImage

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