Hello,
I placed a textbox in a web page where I ask the user for its email.
Now I need to reset its password and get the user profile for the given
email if it exists.
How can I do this?
A side question:
Is it possible to check if there is already a user with a given
email when I am adding a new user to my database using membership?
I want the users emails to be unique. I don't want two users with
the same email.
Thanks,
Miguel 4 1469
What type of database? If 100% uniqueness and you will NEVER need
duplicates for any reason, you can set that constraint in your database.
Yes, of course you can check that, and should...even if you set the
constraint making it impossible to duplicate.
"shapper" <md*****@gmail.comwrote in message
news:11*********************@79g2000cws.googlegrou ps.com...
Hello,
I placed a textbox in a web page where I ask the user for its email.
Now I need to reset its password and get the user profile for the given
email if it exists.
How can I do this?
A side question:
Is it possible to check if there is already a user with a given
email when I am adding a new user to my database using membership?
I want the users emails to be unique. I don't want two users with
the same email.
Thanks,
Miguel
James wrote:
What type of database? If 100% uniqueness and you will NEVER need
duplicates for any reason, you can set that constraint in your database.
I think the type of database is not important in this case.
I am using Asp.Net 2.0 membership.
Anyway, maybe I am wrong. I am using SQL 2005
Yes, of course you can check that, and should...even if you set the
constraint making it impossible to duplicate.
"shapper" <md*****@gmail.comwrote in message
news:11*********************@79g2000cws.googlegrou ps.com...
Hello,
I placed a textbox in a web page where I ask the user for its email.
Now I need to reset its password and get the user profile for the given
email if it exists.
How can I do this?
A side question:
Is it possible to check if there is already a user with a given
email when I am adding a new user to my database using membership?
I want the users emails to be unique. I don't want two users with
the same email.
Thanks,
Miguel
It's fairly relevant. Why not just build a query, based on your table
structure (through stored procedure most likely), to see if the email
address exists?
"shapper" <md*****@gmail.comwrote in message
news:11*********************@n51g2000cwc.googlegro ups.com...
>
James wrote:
>What type of database? If 100% uniqueness and you will NEVER need duplicates for any reason, you can set that constraint in your database.
I think the type of database is not important in this case.
I am using Asp.Net 2.0 membership.
Anyway, maybe I am wrong. I am using SQL 2005
>Yes, of course you can check that, and should...even if you set the constraint making it impossible to duplicate.
"shapper" <md*****@gmail.comwrote in message news:11*********************@79g2000cws.googlegro ups.com...
Hello,
I placed a textbox in a web page where I ask the user for its email.
Now I need to reset its password and get the user profile for the given
email if it exists.
How can I do this?
A side question:
Is it possible to check if there is already a user with a given
email when I am adding a new user to my database using membership?
I want the users emails to be unique. I don't want two users with
the same email.
Thanks,
Miguel
James wrote:
It's fairly relevant. Why not just build a query, based on your table
structure (through stored procedure most likely), to see if the email
address exists?
Maybe I am not explaining it right.
I am using the predefined tables of Asp.Net 2.0 / SQL 2005 membership.
In my Web.Config, under membership provider, I have:
.... requiresUniqueEmail="true"...
Now using the membership class I need to reset the password for a given
email and also get the profile for the given email.
"shapper" <md*****@gmail.comwrote in message
news:11*********************@n51g2000cwc.googlegro ups.com...
James wrote:
What type of database? If 100% uniqueness and you will NEVER need
duplicates for any reason, you can set that constraint in your database.
I think the type of database is not important in this case.
I am using Asp.Net 2.0 membership.
Anyway, maybe I am wrong. I am using SQL 2005
Yes, of course you can check that, and should...even if you set the
constraint making it impossible to duplicate.
"shapper" <md*****@gmail.comwrote in message
news:11*********************@79g2000cws.googlegrou ps.com...
Hello,
I placed a textbox in a web page where I ask the user for its email.
Now I need to reset its password and get the user profile for the given
email if it exists.
How can I do this?
A side question:
Is it possible to check if there is already a user with a given
email when I am adding a new user to my database using membership?
I want the users emails to be unique. I don't want two users with
the same email.
Thanks,
Miguel
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: serkan |
last post by:
Guys,
I am trying to get this password reset functionality wor for me but I am not successful at all. Please somebody help me. I get "Your password could not be reset - please try again later" so I...
|
by: damontimm |
last post by:
My setup: Mac OS 10.4.4; mysql 4.x ... everything was installed and
working fine for some time. Today, I added drupal to my system and had
to create a new database in mysql -- now I am having some...
|
by: Lile |
last post by:
Hello !
I have a problem:
I started a new PC, with Windows XP Pro. The first time, it asked me to define the language for region options, language, and keyboard. It offered me corespodentlly :...
|
by: john_c |
last post by:
Using asp.net Membership, is there a way to detect a password reset so
that next time the user logs in, you can send them to the password
change page?
Thanks.
|
by: jarice1978 |
last post by:
Hello,
I have been scanning the internet for a few days now. That is not working. So now it is time to post!
I have read a few other posts on here about authentication but they do not match...
| |
by: Homer |
last post by:
Hi,
I want to be able to reset a user's password and I do not want to use
the PasswordRecovery control to reset and email it to the user. A
while back, I thought I'd read an article that...
|
by: DarthPeePee |
last post by:
Hello everyone.
I am working on a Password Strength Meter and I am running into 1 problem that I would like to fix.
When pressing the "Clear Password & Try Again" button, the password clears...
|
by: Thana1995 |
last post by:
Write a program that asks the user to give a two-character password(defined by constants within the program). the program should then test the validity of the password. if it is incorrect after three...
|
by: hotflash |
last post by:
Hi All,
I want to creat a script where I will allow user to reset their own password. I have tried different options but don't have any luck. Wonder what I want to do is kinda not valid or not. ...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| | |