User Profile
Collapse
-
In the above code if i login it wl take me to "radcmbox.a spx" & once i login and then on clicking logout how do i go to login page again? -
I have also tried another way to create login using table control.in masterpage.cs my code is:
Code:using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class MasterPage : System.Web.UI.MasterPage { protected void Page_Load(object sender, EventArgs e) { if (Session["Empname"]
Last edited by Frinavale; Oct 14 '11, 03:08 PM. Reason: Added code tags. Please post code in code tags.Leave a comment:
-
Hi could u plz help with how to proceed further.I was in a different domain.Recently (1.5 months bak) shifted to .netLeave a comment:
-
This the code:login.aspx
Code:<asp:Login ID="LoginUser" runat="server" EnableViewState="false" RenderOuterTable="false" onauthenticate="LoginUser_Authenticate"> <LayoutTemplate> <span class="failureNotification"> <asp:Literal ID="FailureText" runat="server"></asp:Literal>
Last edited by Frinavale; Oct 12 '11, 12:55 PM. Reason: Added code tags. Please post code in code tags.Leave a comment:
-
I haven't written any code on the backend.could u please help me out with the code.Thanks
Code:protected void Page_Load(object sender, EventArgs e) { //MembershipUser membershipUser = Membership.GetUser(); //if (membershipUser != null) //{ // string loggedinuser = Membership.GetUser().ToString(); // //HeadLoginView.Controls
Last edited by Frinavale; Oct 12 '11, 12:56 PM. Reason: Added code tags. Please post code in code tags.Leave a comment:
-
-
How to change the login hyper link to logout when successfully logged in
I have created a login page when the user logs in it will take to a specified page with the text "welcome Username" and logout link on the right.but am not getting any logout link but instead itz login link which functions as a logout link though.and no message as "welcome Username"
Below is the code I have used:
Code:<div class="loginDisplay"> <asp:LoginView ID="HeadLoginView"
Last edited by Frinavale; Oct 11 '11, 02:33 PM. Reason: Added code tags. Please post code in code tags. Merged the double posted question.
No activity results to display
Show More
Leave a comment: