Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi
How to set the node to redirect after login
I have three nodes in content section
1. nodea2.nodeb3.Login
i have to set nodea or nodeb as a redirect url after login . how to go about this
If you are using the asp.net login control you can do it like this
<asp:login id="login1" runat="server" DestinationPageUrl="nodea.aspx">
This is how I did mine
<asp:Login ID="Login1" runat="server" onloggedin="Login1_LoggedIn" />
protected void Login1_LoggedIn(object sender, EventArgs e) { Response.Redirect(Web.AppPath + "members.aspx"); }
Hi fuji,
Thanks for the reply.. i got it.
Hi dwarakesh,
Can we possibly know how you did it?
Hi Hardi
Where i need to add the following code to have a redirect
protectedvoidLogin1_LoggedIn(object sender,EventArgs e) { Response.Redirect(Web.AppPath+"members.aspx"); }
used asp.net login controls and created login template ...
Added <asp:loginid="login1"runat="server"DestinationPageUrl="nodea.aspx"> in the Login template ...
Ok, great if you got it working. However you should be aware that if you are using v4.7.0 you will need to create a usercontrol for the logout.
There is a little bug in version 4.7.0 where logging out doesn't completely log a user out.
//fuji
i musing 4.0 version. so will have that in mind wen migrating to 4.7 ..
This will be fixed in version 4.7.1
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Redirect Url after Login
Hi
How to set the node to redirect after login
I have three nodes in content section
1. nodea
2.nodeb
3.Login
i have to set nodea or nodeb as a redirect url after login . how to go about this
Hi
If you are using the asp.net login control you can do it like this
This is how I did mine
Hi fuji,
Thanks for the reply.. i got it.
Hi dwarakesh,
Can we possibly know how you did it?
Hi Hardi
Where i need to add the following code to have a redirect
protectedvoidLogin1_LoggedIn(object sender,EventArgs e)
{
Response.Redirect(Web.AppPath+"members.aspx");
}
used asp.net login controls and created login template ...
Added <asp:loginid="login1"runat="server"DestinationPageUrl="nodea.aspx"> in the Login template ...
Ok, great if you got it working. However you should be aware that if you are using v4.7.0 you will need to create a usercontrol for the logout.
There is a little bug in version 4.7.0 where logging out doesn't completely log a user out.
//fuji
i musing 4.0 version. so will have that in mind wen migrating to 4.7 ..
This will be fixed in version 4.7.1
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.