Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 26th, 2009, 01:00 AM
Friend of Wrox
Points: 546, Level: 8
Points: 546, Level: 8 Points: 546, Level: 8 Points: 546, Level: 8
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2009
Posts: 105
Thanks: 3
Thanked 20 Times in 19 Posts
Default

Scott,

Thanks. I think I understand it.

I haven't tried to actually code a user validation piece yet, but what I was thinking (some one tell me why it won't work) is that on the user registration initially set the account to unapproved and not logged on, send the email to the supplied address with the userid (guid) on a reply link. When the receive the email and reply, then use the guid on the request string to find the user acct and if not approved, toggle the approved flag. I think this last bit is what you are doing in your verify page.

But that wouldn't log them in, only allow them to.

What else am I missing?



Steve
 
Old February 26th, 2009, 09:19 AM
Authorized User
 
Join Date: Oct 2008
Posts: 23
Thanks: 5
Thanked 0 Times in 0 Posts
Default right on track

Steve,

1. the user registers.
2. the account is created but not approved (obviously you validated input at some level)
3. you send email with link to verify.aspx?guid=xxx.....
4. they click on it and if valid guid for user id, they are approved and auto logged in.


Originally all of this was working but my LoginView wasn't updating.
i,e, Signed in userid | Edit Profile | Logout

If you get your registration sending an email with a valid link, this verify.aspx is all you need to activate and auto-login.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing users profile values question? hcusto ASP.NET 2.0 Professional 2 August 19th, 2006 03:23 AM
Regarding authorization harshaghanta ASP.NET 2.0 Professional 1 June 5th, 2006 09:18 PM
Authorization @shish ASP.NET 1.0 and 1.1 Basics 0 March 7th, 2006 06:24 AM
Question about active directory users apalmero Access VBA 0 November 4th, 2003 03:13 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.