Author: Fade-Dude | Posted on: 7/4/2008 5:20:53 PM | Views : 253

Hi There.
I have been coding in vb.net for a couple of years.... trying my hand at asp using c#......
Concerning Memberships and roles....

I do not want to use the built in controls, as I want to have more functionality. I have created a user in the asp.net Tool app..
I can check username against password using: if (Membership.ValidateUser(varUser,varPassword))  

I am looking for the best way to:

Actually Authenticate this user?? Cookie?? Site wide session? Check if the session is authenticated when visiting other pages (I am currently using: if (!Request.IsAuthenticated))Get the username of the actual user that is authenticated site wideI am really scratching my head as to how to get the current user... : (Membership.GetUser() returns a NULL) which makes me think that I am not really "authenticating" the user just by using Membership.validate user, by just checking if the ...

Go to the complete details ...