YAFLogo

saedabaid
  • 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??

Sponsor
Xware
  • 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