Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics 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
  #1 (permalink)  
Old March 11th, 2006, 03:13 PM
Authorized User
 
Join Date: Feb 2006
Location: Houston, Texas, USA.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Examples of storing user info from db in profiles?

Hello - I have to go get a user's business account number from a database table, based on their login ID, and save that away to filter everything they do during a session (involves very sensitive financial info; has to be very secure).

I see examples for storing info in a user profile, but they all get the values from manual inputs from the user.

I also get the impression that trying to save the user ID from the LoggedIn event of a Login control is too soon, as Membership.GetUser() is not valued yet.

Can anybody point me to some examples of getting the logged-in user's ID, using it to lookup additional info in a database table, and saving it all in a profile (or session variables?)

(or, if there is a better/more secure way to do this, please clue me in...)

Thanks

Mark



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get data from user profiles ssomchai BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 May 13th, 2008 01:33 AM
How i can select data from user profiles ssomchai BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 5 April 30th, 2008 09:22 PM
About User Profiles in the beer house ssomchai BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 February 25th, 2008 11:28 PM
db2 doesn't work as a db for RoR examples rafmathijs BOOK: Beginning Ruby on Rails 0 August 30th, 2007 03:50 AM
Uploading an image and storing its name in a DB SKE Classic ASP Databases 1 March 14th, 2005 09:13 AM





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