Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Login control

Status
Not open for further replies.

shaqtus

Technical User
Aug 29, 2010
8
US
I'm using a Login control with custom authentication that works off my existing SQL database. I have two things I need help with:

1. When the user logs in successfully, I use Session.Add("LoginFlag", "true") to keep track of the user's login status. Is this the proper way to do so? Or is there a better way?

2. I want to make use of the LoginView control. When users log in, I want them to be able to see a small "Profile" panel on the side of their page. As of now, I've tried to use the control, but it is not working because it isn't able to detect if the current user is logged in or not... why? (I'm thinking its because I'm using custom authentication. If so, can I still use this control?)

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top