Hi all,
In my recent ASP.NET 2.0 appl, I need to verify that the supplied email address is valid or not. So, here's my situation:
- In my <profilearea, I created <isVerifiedprop erty.
- Suppose a new user has been created. I set the profile.isverif ied to false.
OnCreatedUser event I'll send him an email (to the supplied email address) to verify their email address with a link in it to an ASPX page that'll do the verification, e.g: verify.aspx?u=a UserName
- On page_load of verify.aspx, I want to change the <isVerifiedprop erty to true and set the <isApprovedto true, so he can start log in.
How to do this? I'm using ASP.NET 2.0 (VB.NET) and MSSQL 2K for membership database.
Thanks in advance,
Mike 4 1913
To accomplish this I normally tie in the "IsVerified " or "IsApproved "
properties to your membership table in MSSQL. Create a bit field called
"IsVerified " or "IsApproved " when the account is created, it will be
set to false(0) by default. Upon them receiving an email and clicking a
link that you provide, it will update the fields to true(1). You should
also check these fields when the login method is called from your
login object. This is the way I normally do it, if there is a better
way I'd like to hear it!
Mike wrote:
Hi all,
In my recent ASP.NET 2.0 appl, I need to verify that the supplied email address is valid or not. So, here's my situation:
- In my <profilearea, I created <isVerifiedprop erty.
- Suppose a new user has been created. I set the profile.isverif ied to false.
OnCreatedUser event I'll send him an email (to the supplied email address) to verify their email address with a link in it to an ASPX page that'll do the verification, e.g: verify.aspx?u=a UserName
- On page_load of verify.aspx, I want to change the <isVerifiedprop erty to true and set the <isApprovedto true, so he can start log in.
How to do this? I'm using ASP.NET 2.0 (VB.NET) and MSSQL 2K for membership database.
Thanks in advance,
Mike
------=_NextPart_000_ 0160_01C6B025.3 C5C2C70
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Google-AttachSize: 1421
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff >
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In my recent ASP.NET 2.0 appl, I need to verify
that the supplied email address is valid or not. So, here's my situation:<BR>-
In my <profile& gt; area, I created <isVerified& gt; property.<BR>- Suppose
a new user has been created. I set the profile.isverif ied to false.
<BR>OnCreatedUs er event I'll send him an email (to the supplied email address)
to verify their email address with a link in it to an ASPX page that'll do the
verification, e.g: verify.aspx?u=a UserName<BR>- On page_load of verify.aspx, I
want to change the <isVerified& gt; property to true and set the
<isApproved& gt; to true, so he can start log in.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>How to do this? I'm using ASP.NET 2.0 (VB.NET) and
MSSQL 2K for membership database.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks in
advance,<BR>Mik e<BR></FONT></DIV></BODY></HTML>
------=_NextPart_000_ 0160_01C6B025.3 C5C2C70--
I just realized that this sentence in my reply..
"Create a bit field called
"IsVerified " or "IsApproved " when the account is created"
should read
"Create a bit field called IsVerified or IsApproved in your membership
table, then when the account is created, it will be
set to false(0) by default."
sorry
tfsmag wrote:
To accomplish this I normally tie in the "IsVerified " or "IsApproved "
properties to your membership table in MSSQL. Create a bit field called
"IsVerified " or "IsApproved " when the account is created, it will be
set to false(0) by default. Upon them receiving an email and clicking a
link that you provide, it will update the fields to true(1). You should
also check these fields when the login method is called from your
login object. This is the way I normally do it, if there is a better
way I'd like to hear it!
Mike wrote:
Hi all,
In my recent ASP.NET 2.0 appl, I need to verify that the supplied email address is valid or not. So, here's my situation:
- In my <profilearea, I created <isVerifiedprop erty.
- Suppose a new user has been created. I set the profile.isverif ied to false.
OnCreatedUser event I'll send him an email (to the supplied email address) to verify their email address with a link in it to an ASPX page that'll do the verification, e.g: verify.aspx?u=a UserName
- On page_load of verify.aspx, I want to change the <isVerifiedprop erty to true and set the <isApprovedto true, so he can start log in.
How to do this? I'm using ASP.NET 2.0 (VB.NET) and MSSQL 2K for membership database.
Thanks in advance,
Mike
------=_NextPart_000_ 0160_01C6B025.3 C5C2C70
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Google-AttachSize: 1421
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff >
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In my recent ASP.NET 2.0 appl, I need to verify
that the supplied email address is valid or not. So, here's my situation:<BR>-
In my <profile& gt; area, I created <isVerified& gt; property.<BR>- Suppose
a new user has been created. I set the profile.isverif ied to false.
<BR>OnCreatedUs er event I'll send him an email (to the supplied email address)
to verify their email address with a link in it to an ASPX page that'll do the
verification, e.g: verify.aspx?u=a UserName<BR>- On page_load of verify.aspx, I
want to change the <isVerified& gt; property to true and set the
<isApproved& gt; to true, so he can start log in.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>How to do this? I'm using ASP.NET 2.0 (VB.NET) and
MSSQL 2K for membership database.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks in
advance,<BR>Mik e<BR></FONT></DIV></BODY></HTML>
------=_NextPart_000_ 0160_01C6B025.3 C5C2C70--
Thanks for the reply,
'IsVerified' is my own created property in the profile, as opposed to the
'IsApproved' which is .NET 2.0 membership built-in property.
But, based on your suggestion I have an idea of creating an additional field
(that is: isVerified which is set to false by default) in the built-in
ASP.NET membership table (aspnet_users, I presummed?). But, my next question
is: Would it be tampered ASP.NET built-in membership functionality,a s it
altered the standard schema its created?
Thanks,
Andy
"tfsmag" <tf****@gmail.c omwrote in message
news:11******** **************@ 75g2000cwc.goog legroups.com...
>I just realized that this sentence in my reply..
"Create a bit field called
"IsVerified " or "IsApproved " when the account is created"
should read
"Create a bit field called IsVerified or IsApproved in your membership
table, then when the account is created, it will be
>set to false(0) by default."
sorry
tfsmag wrote:
>To accomplish this I normally tie in the "IsVerified " or "IsApproved " properties to your membership table in MSSQL. Create a bit field called "IsVerified " or "IsApproved " when the account is created, it will be set to false(0) by default. Upon them receiving an email and clicking a link that you provide, it will update the fields to true(1). You should also check these fields when the login method is called from your login object. This is the way I normally do it, if there is a better way I'd like to hear it! Mike wrote:
Hi all,
In my recent ASP.NET 2.0 appl, I need to verify that the supplied email
address is valid or not. So, here's my situation:
- In my <profilearea, I created <isVerifiedprop erty.
- Suppose a new user has been created. I set the profile.isverif ied to
false.
OnCreatedUser event I'll send him an email (to the supplied email
address) to verify their email address with a link in it to an ASPX
page that'll do the verification, e.g: verify.aspx?u=a UserName
- On page_load of verify.aspx, I want to change the <isVerified>
property to true and set the <isApprovedto true, so he can start log
in.
How to do this? I'm using ASP.NET 2.0 (VB.NET) and MSSQL 2K for
membership database.
Thanks in advance,
Mike
------=_NextPart_000_ 0160_01C6B025.3 C5C2C70
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Google-AttachSize: 1421
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff >
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In my recent ASP.NET 2.0 appl, I need to
verify
that the supplied email address is valid or not. So, here's my
situation:<BR>-
In my <profile& gt; area, I created <isVerified& gt; property.<BR>-
Suppose
a new user has been created. I set the profile.isverif ied to false.
<BR>OnCreatedUs er event I'll send him an email (to the supplied email
address)
to verify their email address with a link in it to an ASPX page that'll
do the
verification, e.g: verify.aspx?u=a UserName<BR>- On page_load of
verify.aspx, I
want to change the <isVerified& gt; property to true and set the
<isApproved& gt; to true, so he can start log in.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>How to do this? I'm using ASP.NET 2.0
(VB.NET) and
MSSQL 2K for membership database.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks in
advance,<BR>Mik e<BR></FONT></DIV></BODY></HTML>
------=_NextPart_000_ 0160_01C6B025.3 C5C2C70--
Ok, I'll try that out (my prev post), and let you know the result.
Thanks,
Andy
"Mike" <ne*********@ho tmail.comwrote in message news:%2******** *********@TK2MS FTNGP02.phx.gbl ...
Hi all,
In my recent ASP.NET 2.0 appl, I need to verify that the supplied email address is valid or not. So, here's my situation:
- In my <profilearea, I created <isVerifiedprop erty.
- Suppose a new user has been created. I set the profile.isverif ied to false.
OnCreatedUser event I'll send him an email (to the supplied email address) to verify their email address with a link in it to an ASPX page that'll do the verification, e.g: verify.aspx?u=a UserName
- On page_load of verify.aspx, I want to change the <isVerifiedprop erty to true and set the <isApprovedto true, so he can start log in.
How to do this? I'm using ASP.NET 2.0 (VB.NET) and MSSQL 2K for membership database.
Thanks in advance,
Mike This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Chris Sharman |
last post by:
I'm doing a rough validation of an email address client-side (using js),
but it's not enough - our customer service people are apparently
incapable of typing in an email address without error - we get spaces,
missing '@', multiple '@' which we can field, and simple mis-spellings,
which we can't.
I'd like to automate a 'mailto:' popup for...
|
by: HD |
last post by:
Hi,
I was wondering if there is a way of verifying information that is in the
registry of the user's computer??? Or is there a way of checking if a file
is on the c:\ of the user's computer??
I want to make a certain verification of who is entering my website... but
the IP address is never the same (since it is randomly given to the user)...
|
by: Carter Smith |
last post by:
http://www.icarusindie.com/wiki/index.php/Server-Side_Javascript_Check
Sample source included
This method requires that your pages are PHP enabled and you have mySQL.
Although I suppose you could also use PHP sessions (not cookies as they're
client editable). You could actually use any server side scripting language
such as Perl or ASP...
|
by: Doug O'Leary |
last post by:
Hey, all.
I have a perl script which generates the html listed below. I cleaned it
up a bit since the perl CGI module creates some really ugly html code.
I've looked at this thing 8 ways to Sunday, but I can't see anything wrong.
When I hit the "Add" button, it immediately executes the action of the form
skipping the validate_form function...
|
by: John |
last post by:
Hi
I have several web forms that require users verification by entering a code
before they are allowed in. I have created a separate web form for entering
and verifying user code. How do I incorporate this with web forms that
require security? I am very new to this and would appreciation some
clarification on how this sort of thing works in...
| |
by: Thomas Hallgren |
last post by:
I'm connected to a database and I want to verify that a username and
password for some user is correct. I know I can verify a users existence
by doing:
select exists(select * from pg_user where usename = $1)
but I would like to verify the correctness of the password as well. Is
there a way to do that using SQL?
Regards,
|
by: foothills bhc |
last post by:
I have a problem with verifying content of controls on a form before closing the form or moving to the next form "record" (i.e., when moving to the next row of my form's record source).
HERE'S THE LONG EXPLANATION OF THE PROBLEM
First, A Description of the Form:
I have developed a form for entering survey questionnaire data. The data to...
|
by: Toast |
last post by:
First of all... I'm very new to all of this and really do not know anything more than how to "snoop" and try to see what things might be causing problems. I do not know how to program. Everything here is not in a verbatim or verbose format. I think I did well enough though, considering I don't even know how to explain these things. All specs...
|
by: kang jia |
last post by:
hi
when user entered particulars in signuppage and click" signup" button, i will direct them to do_signup.php. if say the NRIC is dupicate in datebase, i will redirect them back to signup page again to re-signup, however, i would like to remain all the correct infromation, and let users re-entered their NRIC. how can i do this. can i use...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
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 we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |