Hello all,
I intend to use membership.authentication/authorization API from ASP.NET 2.0 in in ASP.NET 3.5 web app. However, when I implement the LoggedIn method for a login component as below:
protected void Login1_LoggedIn(object sender, EventArgs e)
{
Label1.Text = User.Identity.Name;
}
the Name comes as a null valu...
Is it possible to use the standard ASP.NET login control, but just ask the user for a password? I am using a template, but the runtime complains that;
Login1: LayoutTemplate does not contain an IEditableTextControl with ID UserName for the username.
My current thinking, is to add the control with style="display:none;" which seems lame...
I'm trying to write an improved password reset function for one of our public facing websites and in addition to a better captcha I wanted to flag a username that attempts to login w/ no success x amount of times in under y minutes. The first thought was to have a database that logs each attempt and then after the max amount of attempts...
Where can I find the function that handles the login for DNN? I would like to add custom features to the login and I don't see the function in Login.ascx.vb (unless I missed it).
There is a tag and a tag that forms the login. I figure one of these has the actual "Login" button, but I cannot seem to figure out where they're coming fro...
Hi,
I'm using a CreateUserWizard on my register page. The Sign Up button is part of a CustomNavigationTemplate.
I need to set the Sign Up button as the default button of a ASP:Panel, but can't do so since it's inside the template. I tried to do so, but I can't locate the Sign Up button using CreateUserWizard.FindControl, CreateUserWiz...
Help! I'm using the ASP.Net Login control on a Login page, but the Login button no longer appears to be working and the Authenticate event is not firing. On clicking Log In, the page just returns to the Login page.
web.config extract
<authorization>
<deny users="?" />
<allow users="*" />
</authorization>
<authentication mode="Forms...
I have this in my LoginControl.ascx code behind:
protected void Logout_Click(object sender, EventArgs e)
{
FormsAuthentication.SignOut();
Session.Abandon();
FormsAuthentication.RedirectToLoginPage();
Response.End;
//Response.Redirect("default.aspx");
}
I expected that on logout the user would be redirected to the l...
If you multiple subdomains e.g.:
sub1.domain_name.com
sub2.domain_name.com
Is there a way to have a user be able to log into both of these without issues and double login issue?
The platform is Python, Django.
...
In Sitecore 6, I have created a sublayout that has an asp:login control. For some reason, it doesn't work when I add it to the layout of a page. The page simply posts back, but doesn't log me in.
I made a stand alone .aspx with a login control and it works fine. So the problem is not with the membership system. My guess is it has so...
I'm looking for a way for users to be able to connect to my application easily, but rarely. What I want to do is be able to store a cookie with a 1 year life on the user's computer. If they access the website while the cookie is active, they will be automatically logged in.
My proposed solution is this: Upon initial login, create a c...
Hello everybody!
There is a Login control on my ASP.NET (2.0) page. I handle LoggingIn event like this:
protected void Login1_LoggingIn(object sender, LoginCancelEventArgs e)
{
// go to database and find this user
if (userTable != null && userTable.Rows.Count > 0)
{
int userID = Convert.ToInt32(userTable.Rows[0]["U...
Not sure what's misconfigured somewhere or whatever. An authenticated user can change his password, but for an unauthenticated user, clicking on the Change Password button does not do anything. No error is shown either.
Any ideas?
...
Hello,
I have a .Net Login Control with a event handler for onloggedin.
onloggedin="Login2_LoggedIn"
However User.Identity is always null.
protected void Login2_LoggedIn(object sender, EventArgs e)
{
// Is User is Admin
if (Roles.IsUserInRole(User.Identity.Name, "admin"))
Is it supposed to be available at this point?
Or sh...
We are using ASP.NET 2.0 to build a website, and are using Forms Authentication. As usual I'm using the ASP.NET Login control.
In this project, we are not allowed to use client side (JS) validation, so I want to disable this. Unfortunatly, there doesn't seem to be a EnableClientScript property available like on the various ASP.NET Vali...
I am using same user name and password login for a user on two web applications (one in .net 3.5 and other in java 1.4). Both websites are using different database on same server.For maintaining user name password authentication .net user login-control is used.when user updates his password we need to update same password in database use...
Hi everyone,
I have been almost finished (well i thought i finished) writing this login page in php. Everything works fine when the user enter in the details and presses the login button.
But after the user logins once they are able to use the forward and back buttons on the browser to go between the 2 pages.
Is there a...
Hi,
Say I want to develop a site with some CMS embedded in it - e.g., a Wordpress blog and phpbb forum.
What's the most convenient way to unify the log-in and sign-up process for my site?
Letting users have a different registration process for each part of the site would probably scare any sane user away.
EDIT
I prefer generic solu...
I lost a week of time on this. I wanted to use a LinkButton instead of the standard asp button so I could attached a SkinID to it that I use for link buttons. When using the linkbutton:
<asp:LinkButton ID="LinkButton1" runat="server" CommandName="Login" SkinID="loginButton"
ValidationGroup="rgtLogin...
Any one help me out, how to work with LoginStatus control in asp.net...
the statu before login should be 'userlogin'
after logged in ,it automatically changes to 'userlogout'
any suggestions??
...
how to restrict the page to be browsed in the other browser with the same urls with out logging asp.net & c#.net.
i followed the following steps
for example:
i am logging in to a page developed in asp.net & c#.net.
i am viewing a page.Let it be admin page.
i am copying the url of the admin page.
i am opening another browser window...