Change Password Control RegEx Validating Oddly In IE 7 Only?
Mar 25, 2010
I'm using the Asp.net change password control in my application and all seems to be find and dandy until a user tells me she has a problem meeting the strength requirements when changing her password. Looking into this, she is using IE 7 and no matter what she puts in, the validation fails (and ONLY in IE 7. Firefox, IE 8, Chrome etc. all work as expected). Here is the regex i'm using:
^(?=.*d)(?=.*[a-z])(?=.*[A-Z])(?!.*s).{5,15}$
I've tried out a few others that I've found throughout this site and others that folks seem to be using with no issues and I come across the same problem.It seems that which ever pattern I enter in last (digit, upper or lower alpha) is the one that is expected to be repeated min of 5 times. For example:
Hello1 (doesn't work)
11111Hello (doesn't work)
Hello11111 (works)
Again, this is ONLY in IE 7.
View 1 Replies
Similar Messages:
Aug 18, 2010
I am developing a shopping cart with asp.net and sqlexpress. I am using aspnet authentication components to create a backend page. I designed the site to let in only authorized users in.
Yesterday, I forget my password to login to backend and asked system recover my password. with recover password of the asp.net I was able to receive the temp password. I took that and logged in, of course asp.net forward me to password change component which I am having problem with.
Every time I change my password , password change shows that I was successfull but after clicking on the continiue button password change component comes back. I went to properties of password change component and entered the main default page as destination but it is not helping.
I close the IE clear the cache , even restart the machine. When I login always taking me to the password change page.
View 2 Replies
May 1, 2010
When validating an email address with the regex validation component, an additional RequiredFieldValidator must be added to ensure there is a value present.
I've mostly taken care of this with a CustomFieldValidator, and taking care of this with Javascript.
View 1 Replies
Mar 14, 2011
I can recover my password but when I try to change my password to something a bit easier to remember it gives me:
Password incorrect or New Password invalid. New Password length minimum: 7. Non-alphanumeric characters required: 1.
View 7 Replies
Mar 6, 2010
I have the following password requirements:
1) Should be 6-15 characters in length
2) Should have atleast one lowercase character
3) Should have atleast one uppercase character
4) Should have atleast one number
5) Should have atleast one special character
6) Should not have spaces
Can anyone suggest me a RegEx for this requirement?
View 4 Replies
Jan 13, 2011
I got a problem here and i desperately need your helps through this.Ok,i use Change Password control to allow user to change their password.I use administrative tool to setting their username and password.When i run my project and clicks on Change Password button,i got below error:"Password incorrect or New Password invalid. New Password length minimum: 6. Non-alphanumeric characters required: 0."It means,change password attempt is unsuccessful.Why this happen?
View 4 Replies
Dec 21, 2010
some links or guides on how to use Change Password control in asp.net?I already succeed implemented the login control in my application.And now i want to put change password control in my application so that the user can change their password accordingly.How can i do this using asp.net?
View 4 Replies
Feb 9, 2011
I am using Membership provider.. I integrated the aspnet member tables into my database.
I need the user to enter password on a data entry form and validate it against the membership tables.
How can I do this. This is the set up. I have few fields and user enters those fields and also enters the password, and submits the form. It is kind of like signature... i am looking for something like..
If txtPassword.text = membershipprovider password
{
//do this...
}
View 1 Replies
Jan 13, 2011
The following regular expression works in chrome and firefox, but not IE7:
^((?=.*d)(?=.*[a-z])(?=.*[A-Z]).{8,20})$
It needs to contain at least 8 characters and have at least on uppercase and a number. When I try this in IE7, I have to type 14 characters for it to validate. Can someone explain why and what would be the correct expression for all 3 browsers.
I am using an asp:RegularExpressionValidator to validate the password.
View 2 Replies
Apr 18, 2010
I using control Membership and profile for change Your password. It is error when i login again.
View 2 Replies
Jul 10, 2010
I have converted the change password control to a template. It is inside an update panel. After changing the password the confirm button takes the user to the success step by updating the update panel. Then by clicking the OK button, I would like to reset the password changer to its initial state so that the user can change the password again. Right now I am not sure how this is done and the control simply remains at the second step, telling the user "password has been changed" . User can press OK. What must I write in the OK button click event to reset the password control to its original state?
View 3 Replies
Jun 28, 2010
Does anyone has a solution (sample code) for the following features:
Create a randomGuid/Cryptographically strong random number Send a unique URL containing the random number to the user's email address When confirmed, the user is asked to change password
My provider is currently parametrized this way:
[code]....
The security issues with this type of procedure have been discussed here before.
View 2 Replies
Jan 13, 2010
I using change password control, how can i change the password without enter the current password?
View 8 Replies
Dec 10, 2010
I'm using the ChangePassword method of membership provider to change the password and one of the requirement before calling the ChangePassword is to retrieve the current password. But I'm getting error:
padding is invalid and cannot be removed
below is my web.config:
[code]....
View 1 Replies
Sep 21, 2010
Am using ASP.NET membership authentication in a small website and i just noticed some thing funny during testing. Am trying to enable user to change their login password any time they wish, i dragged a change password control to the form, i changed the password for my test account, but now all passwords are still working.
I can login with the old password as well as the new password with this particular test account. If i try with any other random characters as the new password, i cant successfully login (which OK). But if type the old password, am able to login, if i type the new password, am still able to login, am finding this very strange.
View 2 Replies
Dec 25, 2013
I have a problem with changing the password from Microsoft Access Database. I get an Error "No data exists for the row/column". The password in the database is encrypted and when I change the password it should be decrypting the password and new password should be updated with encryption again. I have following Encryption and Decryption Function:
Code:
Imports System.Collections.Generic
Imports System.Linq
Imports System.Web
Imports System.Text
[code]....
View 3 Replies
May 7, 2010
[Code]....
modifying WHERE Clause and change to RegEx?
View 1 Replies
Jun 7, 2010
I need a control that will accept an email address and password/verify with a password strength indicator.
Has anyone seen a similar type control?
View 2 Replies
Mar 2, 2010
I have 2 text boxes one for first name and one for last name. If the user enters a first name then the last name cannot be empty. Is there a validation control i can use and how can i display the message in the validation summary.
View 5 Replies
Jan 7, 2010
I have several fields for my custom form, When i create new Validator for that textbox1, it mess up with the alignment of my fields and takes the text or the texbox to another place. I tried absolute positioning, but when i run the page i see that the validator text showin in the wrong place, What should i do to keep the layout of my page beautiful while i using validations for each field in my form?
View 6 Replies
Nov 5, 2010
I have a wrapper UserControl control around a DropDownList for managing language specific translation on the DropDownList values.
I also have a required field validator that is requried for the inner dropdownlist.
How can I expose this control via the usercontrol to allow validation?
The error I am currently getting is as follows:
[Code]....
Which is now working if I check the IsValid property of the page on postback.
View 1 Replies
Jun 9, 2010
i am using a wizard control with few textboxes in it and i want to validate them how to do?
View 1 Replies
Mar 11, 2010
I'm adding RequiredField validators to a group of RadioButtonList controls, and something strange is happening when the page loads. The page renders just fine with no validators tripped, but as soon as I click on one of the radio buttons, the validator for that RadioButtonList fires and shows me the error message. I initially thought that maybe the various validators were cross-linked, so I tried clicking on a radio button in every list, but they all react the same. Here's the code that generates the whole thing:
[Code]....
View 6 Replies
Jan 18, 2011
I have created the user control and it has got one table with few rows in it. One row has got a text box with custom validaor and other row will have check boxes dynamically added through server side.
On the main page, i am loading that user control about 10-15 times depending upon the values from the database.
Is there any way of setting the properties of user control validator on the main page? Text box will only be validated if any check box is checked in the user control.
I am also not able to find the usercontrols through the main page.
View 9 Replies
Feb 19, 2010
I'm having a little trouble with using regex in linq. I want to be able to perform a search on values in my database. The goal is to insert a value into the regex and then use that to search a column in a table in my database for that term. I want it to work so that it gets all exact matches and also returns matches in which the search term is a substring of the term in the column.
I was trying to follow this tutorial on msdn, but it doesn't quite fit perfectly with my problem:
[URL]
Code:
[code]....
View 11 Replies