• saedabaid
  • 54.2% (Neutral)
  • YAF Forumling Topic Starter
12 years ago
please help me now

how can i login the forum programmitically ??

adn refresh the forum

The problem is when i login programmitcally
like this

YAF.Classes.Data.LegacyDb.user_login(1, Name, Password);

it didnt refresh the forum and appear the foum logged in

is there any error??

  • Xware
  • 50.2% (Neutral)
  • YAF Forumling
11 years ago
i know this is an old post but.. if anyone else is looking for an easy solution
Response.Redirect(Request.Url.ToString, True)
call that after the login and it will refresh the current page

Response.Redirect("/Newpage.aspx", True)
or this to load a new page
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
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