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 374,185 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 3,477 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: 321 | Replies: 3 | Solved
Reply
Join Date: May 2008
Posts: 8
Reputation: mythi is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
mythi mythi is offline Offline
Newbie Poster

login page

  #1  
May 6th, 2008
Hi

I am new to the dot net field i need to do my login page in which i need to give specific home pages for admin and other users i dont know how to do it kindly help me with some code for authentication for different users
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,122
Reputation: majestic0110 is on a distinguished road 
Rep Power: 3
Solved Threads: 46
majestic0110's Avatar
majestic0110 majestic0110 is offline Offline
Veteran Poster

Re: login page

  #2  
May 6th, 2008
Hi Mythi and welcome!
I have found some links that may assist you:



These links detail 2 approaches to creating your login page. Arguably the second link's tutorial is simpler and provides a quicker solution. Hope this helps and good luck!
Last edited by majestic0110 : May 6th, 2008 at 8:29 am.
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: 4
Reputation: vmadhu_ece is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 1
vmadhu_ece vmadhu_ece is offline Offline
Newbie Poster

Re: login page

  #3  
May 8th, 2008
i am also new for it feild i tried to answer .for administrator u know the user name and password. so u can use like this
  1. if(username=="adminusername" && password=="adminpassword")
  2. {
  3. response.redirect("adminhomepage.aspx");
  4. }
  5. else
  6. {
  7. response.redirect("userhomepage.aspx");
  8. }
Last edited by peter_budo : May 14th, 2008 at 2:07 pm. Reason: Keep It Organized - please use [code] tags
Reply With Quote  
Join Date: May 2008
Posts: 8
Reputation: mythi is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
mythi mythi is offline Offline
Newbie Poster

Re: login page

  #4  
May 13th, 2008
hi vmadhu_ece

Thank u for ur coding i finished doing my login page thank u for ur timely help
Reply With Quote  
Reply

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

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb ASP.NET Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

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