User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 403,039 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,865 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 335 | Replies: 6
Reply
Join Date: May 2008
Posts: 2
Reputation: znetweb is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
znetweb znetweb is offline Offline
Newbie Poster

Please Help.login in asp

  #1  
May 17th, 2008
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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,124
Reputation: majestic0110 is on a distinguished road 
Rep Power: 3
Solved Threads: 47
majestic0110's Avatar
majestic0110 majestic0110 is offline Offline
Veteran Poster

Re: Please Help.login in asp

  #2  
May 18th, 2008
Hi there and welcome to DaniWeb. you will need to look at this link:


For the administrator/normal user distinction, focus on ROLES. hope this helps.
If you have a quality, be proud of it and let it define you. Add it to the world!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
Reply With Quote  
Join Date: May 2008
Posts: 2
Reputation: znetweb is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
znetweb znetweb is offline Offline
Newbie Poster

guys this drawing might help u to to help me

  #3  
May 18th, 2008
Please follow the link to view my darwing of what i need.please do help me.
http://www.farspic.com/files/93vvqup8y58jcac7ee1x.jpg
Reply With Quote  
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,124
Reputation: majestic0110 is on a distinguished road 
Rep Power: 3
Solved Threads: 47
majestic0110's Avatar
majestic0110 majestic0110 is offline Offline
Veteran Poster

Re: Please Help.login in asp

  #4  
May 18th, 2008
How far have you got? Can you post some code you have done? I am more than willing to help you but please show some effort on your side. It is not in the spirit of this forum to do people's homework assignments. We are here to help where we can, but not do entire homework assignments. So, come on, show us some effort
If you have a quality, be proud of it and let it define you. Add it to the world!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
Reply With Quote  
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,244
Reputation: peter_budo is a jewel in the rough peter_budo is a jewel in the rough peter_budo is a jewel in the rough 
Rep Power: 10
Solved Threads: 270
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: Please Help.login in asp

  #5  
May 19th, 2008
It is just simple logic
  1. User submit usernane and password
  2. Page setup connection with DB and check if user exists with given details
    1. If user exist, get his site permissions/user level
    2. If doesn't exist refuse login, show error
Once you reach point 2.1 your page logic will check what sort of permission user has and base on that it will show/hidden certain page options. Points 2 and 2.1 can be merged if you know how to use subqueries
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Reply With Quote  
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,124
Reputation: majestic0110 is on a distinguished road 
Rep Power: 3
Solved Threads: 47
majestic0110's Avatar
majestic0110 majestic0110 is offline Offline
Veteran Poster

Re: Please Help.login in asp

  #6  
May 19th, 2008
Ok, here is a great page I have often looked at (on DaniWeb). It uses access as a database store with VB code behind.

http://www.daniweb.com/forums/thread19303.html

That ought to help you get started

It is an impressive tutorial and one I often refer posters too. Hope this helps you znetweb!
Last edited by majestic0110 : May 19th, 2008 at 2:03 pm.
If you have a quality, be proud of it and let it define you. Add it to the world!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
Reply With Quote  
Join Date: May 2008
Posts: 18
Reputation: nmpgaspar is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
nmpgaspar nmpgaspar is offline Offline
Newbie Poster

Re: Please Help.login in asp

  #7  
May 20th, 2008
dude, everything you need to know is very well explained on a video tutorial you can find here:

http://www.learnvisualstudio.net/

Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 11:28 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC