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

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");
}

hi vmadhu_ece

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

This question has already been answered. Start a new discussion instead.