Click here to Skip to main content
12,246,406 members (40,545 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VB ASP.NET
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 6-Nov-12 6:06am
yu2ish325

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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[^]
  Permalink  
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 6 Nov 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100