Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old October 1st, 2007, 05:45 PM
Authorized User
Points: 395, Level: 6
Points: 395, Level: 6 Points: 395, Level: 6 Points: 395, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2007
Location: London, , United Kingdom.
Posts: 73
Thanks: 4
Thanked 0 Times in 0 Posts
Default Profiles and Password Recovery Control

Hi Guys
I was looking at the project webshop given in the chapter 9. In this project they have used the Login , Password and Creat user controls And have also used the Profiles. I am not cleared on few things and will be appreciated if someone explain this to me:

Profiles:
In the database they have created the tables for Users and profiles which actually store their related information onit. Although in the aspx file they have described the Profiles tag with its fields and datatype, but couldn't figureout how it's associated with the respective aspnet_Profile and aspnet_Users tables in the database ???

Secondly the same with the password recovery control, where this control is associated with the respective table from the databse to actually retrieve the data?

As i am at the biggenner level so detail explanation will be appreciated.


Cheers
Sheraz
__________________
Cheers
Sheraz
Reply With Quote
  #2 (permalink)  
Old October 2nd, 2007, 12:27 AM
Imar's Avatar
Wrox Author
Points: 66,563, Level: 100
Points: 66,563, Level: 100 Points: 66,563, Level: 100 Points: 66,563, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,121
Thanks: 65
Thanked 1,381 Times in 1,361 Posts
Default

Hi there,

This is all taken care off by the ASP.NET run-time. Both Profile (to store user data) and Membership (for user management, including password retrieval) are so called Application Services that are part of the ASP.NET framework.

Get yourself a copy of Beginning ASP.NET 2.0 or Professional ASP.NET 2.0. for more info about these services.

If you're really at the beginner's level, then ASP.NET 2.0 Instant Results may not be suitable for you at this stage. It may be better to start with Beginning ASP.NET 2.0 and then proceed wit Instant Results.

Cheers,

Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Reply With Quote
  #3 (permalink)  
Old October 2nd, 2007, 06:12 PM
Authorized User
Points: 395, Level: 6
Points: 395, Level: 6 Points: 395, Level: 6 Points: 395, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2007
Location: London, , United Kingdom.
Posts: 73
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Thanks Imar
So basically in order to achieve these functionality of .net framework Do we need to create the tables (aspnet_Profile and aspnet_Users) manually or the asp.net framework do this for us automatucally....

Thanks again

Cheers
Sheraz
Reply With Quote
  #4 (permalink)  
Old October 3rd, 2007, 12:15 AM
Imar's Avatar
Wrox Author
Points: 66,563, Level: 100
Points: 66,563, Level: 100 Points: 66,563, Level: 100 Points: 66,563, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,121
Thanks: 65
Thanked 1,381 Times in 1,361 Posts
Default

Hi Sheraz,

Take a look here: http://weblogs.asp.net/scottgu/archi...25/423703.aspx

By default, the database and its tables are generated automatically for you but you can override that behavior.

Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Reply With Quote
  #5 (permalink)  
Old October 8th, 2007, 03:46 PM
Authorized User
Points: 395, Level: 6
Points: 395, Level: 6 Points: 395, Level: 6 Points: 395, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2007
Location: London, , United Kingdom.
Posts: 73
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Thanks alot Imar. The article you mention was break.
So basically when someone enter there user id and password the ASP.net framework take care of retrieving the values from the control and use the repectivie table in the database to store them....Am i correct???

Cheers
Sheraz
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
checkpassword control new password not accepting aruni_cbe ASP.NET 2.0 Professional 4 December 7th, 2010 01:35 AM
password recovery message kevin33 Wrox Book Feedback 5 November 14th, 2008 04:44 PM
recovery password Jophie BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 January 10th, 2008 04:39 PM
Loading Password into Login Control amatytfc ASP.NET 2.0 Basics 5 July 2nd, 2007 09:00 AM



All times are GMT -4. The time now is 11:11 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.