well guys please help me,first of all
its a course projects,well in the home page i need to create a login form for both normal users and administrator.Because after logging administrator will come on a page where they can update a database,whereas normal users wont have this function on ther after logging pages.
znetweb 0 Newbie Poster
Recommended Answers
Jump to PostHi there and welcome to DaniWeb. you will need to look at this link:
http://weblogs.asp.net/scottgu/archive/2005/10/18/427754.aspx
For the administrator/normal user distinction, focus on ROLES. hope this helps.
Jump to PostIt is just simple logic
- User submit usernane and password
- Page setup connection with DB and check if user exists with given details
- If user exist, get his site permissions/user level
- If doesn't exist refuse login, show error
Once you reach point 2.1 your page logic …
All 6 Replies
majestic0110 187 Nearly a Posting Virtuoso
znetweb 0 Newbie Poster
majestic0110 187 Nearly a Posting Virtuoso
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
majestic0110 187 Nearly a Posting Virtuoso
nmpgaspar 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.