DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   ASP.NET (http://www.daniweb.com/forums/forum18.html)
-   -   login page (http://www.daniweb.com/forums/thread122729.html)

mythi May 6th, 2008 7:00 am
login page
 
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

majestic0110 May 6th, 2008 8:29 am
Re: login page
 
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!

vmadhu_ece May 8th, 2008 1:09 am
Re: login page
 
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
if(username=="adminusername" && password=="adminpassword")
{
response.redirect("adminhomepage.aspx");
}
else
{
response.redirect("userhomepage.aspx");
}

mythi May 13th, 2008 2:34 am
Re: login page
 
hi vmadhu_ece

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


All times are GMT -4. The time now is 7:56 am.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC