Click here to Skip to main content
12,450,581 members (50,646 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET
I'm thinking if we persist the user ID of a registered user on a website, we won't need anything else to make further queries. We could use that ID to manipulate any other data in the database that is related to the user.
Posted 26-Nov-12 13:23pm
Updated 26-Nov-12 13:25pm
v2
Comments
Sergey Alexandrovich Kryukov 26-Nov-12 20:34pm
   
Not clear. What is "enough"? If you mean that the user profile and data associated with it is found by the ID of authenticated user, this is what always done. So, what's the idea?
--SA
FourCrate 27-Nov-12 16:09pm
   
Ok, and which state management should I use for something such as a user ID?
FourCrate 27-Nov-12 16:10pm
   
You understood me correct by the way :)
VishwaKL 6-Dec-12 22:16pm
   
I think if the user id is email id its better,
FourCrate 8-Dec-12 7:52am
   
Why do you think that VishwaKL?
VishwaKL 10-Dec-12 0:31am
   
Email id is unique identification that why
FourCrate 22-Dec-12 12:13pm
   
ok but so can user id be (a unique integer)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160826.1 | Last Updated 26 Nov 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100