Click here to Skip to main content
15,886,055 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am still new to asp.net 4.0 vb . i have design a masterpage and i wish to have a log in and log out in it using session so that when the user log in, the user's name is shown on the top and the log in automatically changes to log out. I have no idea where to start with it. Can u guys help me ? i have already designed the database because the person to log in may either be a user or the admin .
i need guidelines from you to help me out. Thank you
Posted

1 solution

If you're new to ASP.net I wouldn't recommend rolling your own user management. User the built in features first:

Understanding ASP.NET Roles and Membership - A Beginner's Tutorial[^]
 
Share this answer
 
Comments
yu2ish 6-Nov-12 11:28am    
The problem is that i need to implement this in my assignment and i am not allowed to use built in functions or wizards, we have to do everythng hard code .
jim lahey 6-Nov-12 11:46am    
That's a shame. I'd still recommend having a look, the principles will still be similar.

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