Click here to Skip to main content
15,921,990 members
Please Sign up or sign in to vote.
1.89/5 (2 votes)
See more:
in the home web form of the website, there are login button i want this button to allow the admins of the website to check or enter to specific account in the website, but i did not know how i can code this. any help please
Posted
Comments
David_Wimbley 14-May-13 18:28pm    
What have you tried? Or have you even attempted?
Samar Daer 14-May-13 18:42pm    
i design website the admin want to login to the contact account from the home web form ,i did not know how can i connect between website login button and the accounts of the admins on the website server to let the admins to login
Samar Daer 14-May-13 18:48pm    
how can i connect to the accounts database of the website host?
Sergey Alexandrovich Kryukov 14-May-13 18:55pm    
Why do you think that an admin is something special? Just yet another role...
—SA

Please see my comment to the question and start here: http://www.asp.net/web-forms/tutorials/security/roles/role-based-authorization-cs[^].

—SA
 
Share this answer
 
Comments
Samar Daer 14-May-13 19:12pm    
i did not think the admin is special, i did not know the technic of link between the website host accounts and my webpage to allow the admin or users to login to specific account,
thanks alto mr sergey i well read the link and hope to find the answer
Sergey Alexandrovich Kryukov 14-May-13 19:19pm    
It's my pleasure if you find it useful. I think this article is well thought and provides sufficient directions.
Good luck, call again.
—SA
Samar Daer 14-May-13 19:26pm    
thanks mr,and i will be back if i find any difficulty^_^
If you do it made LINQ,i will help you
you must use session for account admin.so it had permit to specific account in the website.
 
Share this answer
 
v2
Comments
Samar Daer 15-May-13 8:48am    
mr.Thang, you means, i must save all the accounts emails and passwords that i want them to login to specific account in site host in sessions or what. how can i get their passwords, i did not know how can i connect with these accounts in the host site i hope i was able to explain to you what i want
Samar Daer 15-May-13 9:01am    
my problem is the admin create many accounts for his partners from cpanel in the host site,and want to let them login from the home page i design how can i connect with these accounts to let them login to specific account in the host site to reply on the email they receive from the clients

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900