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 <isVerifiedproperty.
- Suppose a new user has been created. I set the profile.isverified 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=aUserName
- On page_load of verify.aspx, I want to change the <isVerifiedproperty 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 1838
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 <isVerifiedproperty.
- Suppose a new user has been created. I set the profile.isverified 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=aUserName
- On page_load of verify.aspx, I want to change the <isVerifiedproperty 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.3C5C2C70
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> area, I created <isVerified> property.<BR>- Suppose
a new user has been created. I set the profile.isverified to false.
<BR>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=aUserName<BR>- On page_load of verify.aspx, I
want to change the <isVerified> property to true and set the
<isApproved> 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>Mike<BR></FONT></DIV></BODY></HTML>
------=_NextPart_000_0160_01C6B025.3C5C2C70--
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 <isVerifiedproperty.
- Suppose a new user has been created. I set the profile.isverified 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=aUserName
- On page_load of verify.aspx, I want to change the <isVerifiedproperty 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.3C5C2C70
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> area, I created <isVerified> property.<BR>- Suppose
a new user has been created. I set the profile.isverified to false.
<BR>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=aUserName<BR>- On page_load of verify.aspx, I
want to change the <isVerified> property to true and set the
<isApproved> 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>Mike<BR></FONT></DIV></BODY></HTML>
------=_NextPart_000_0160_01C6B025.3C5C2C70--
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,as it
altered the standard schema its created?
Thanks,
Andy
"tfsmag" <tf****@gmail.comwrote in message
news:11**********************@75g2000cwc.googlegro ups.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 <isVerifiedproperty.
- Suppose a new user has been created. I set the profile.isverified 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=aUserName
- 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.3C5C2C70
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> area, I created <isVerified> property.<BR>-
Suppose
a new user has been created. I set the profile.isverified to false.
<BR>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=aUserName<BR>- On page_load of
verify.aspx, I
want to change the <isVerified> property to true and set the
<isApproved> 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>Mike<BR></FONT></DIV></BODY></HTML>
------=_NextPart_000_0160_01C6B025.3C5C2C70--
Ok, I'll try that out (my prev post), and let you know the result.
Thanks,
Andy
"Mike" <ne*********@hotmail.comwrote in message news:%2*****************@TK2MSFTNGP02.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 <isVerifiedproperty.
- Suppose a new user has been created. I set the profile.isverified 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=aUserName
- On page_load of verify.aspx, I want to change the <isVerifiedproperty 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 discussion thread is closed Replies have been disabled for this discussion. Similar topics
10 posts
views
Thread by Chris Sharman |
last post: by
|
4 posts
views
Thread by HD |
last post: by
|
9 posts
views
Thread by Carter Smith |
last post: by
|
10 posts
views
Thread by Doug O'Leary |
last post: by
|
6 posts
views
Thread by John |
last post: by
|
3 posts
views
Thread by Thomas Hallgren |
last post: by
| | | | | | | | | | | | | |