Call this method after page refresh public async Task OnGetAsync(string returnUrl = null)
{
}
I have face a issue I'm login successfully then I have open login page url 2nd time and other this is stable in login page not redirect other page .
ranjith rPosted Sep 4, 2021, 7:11 AM
string ret= Convert.ToString(Request.QueryString["url"]);
if (!string.IsNullOrEmpty(ret))
{
Response.Redirect(ret);
}
else
{
Response.Redirect("myself.aspx?msgs=" + "loginsuccess");
}