Try to have a look at this blogpost on how the build a protected area on your website and how to decide which page, the user should be on when he or she are logged in:
Also yo can do one other thing as well. Oncy your member successfully login then you can add
ViewBag.Success = "any message.Which we just want to compare";
@if (ViewBag.Success != null && ViewBag.Success=="any message.Which we just want to compare")
{
Response.Redirect("Required Page")
}
How to use "@using (Html.BeginUmbracoForm)" to redirect to an umbraco page?
Hi.
I created a partial view as login page with login snippet and this is generated tamplate:
When a member login successfully with login page, he is stay on login page!
How can I redirect a member to a specific page after login?
With thanks.
Hi Hassan,
Try to have a look at this blogpost on how the build a protected area on your website and how to decide which page, the user should be on when he or she are logged in:
http://bit.ly/1g79eXP
Hope this helps,
/Dennis
Hi Hassan,
You can handle this on your server end.If member successfully login then you can redirect it to a specific page like
1.Response.Redirect("/desirepage"); 2. return RedirectToUmbracoPage(pass umbraco page id)
Also yo can do one other thing as well. Oncy your member successfully login then you can add ViewBag.Success = "any message.Which we just want to compare";
@if (ViewBag.Success != null && ViewBag.Success=="any message.Which we just want to compare") { Response.Redirect("Required Page") }
is working on a reply...