R
robertm
Hello.
I have enabled Membership on my .NET application. I can add users,
assign them to roles, and log in and out.
the roles work perfectly, however the following code:
bool amIloggedIn = Profile.IsAnonymous;
amIloggedIn is alway = true;
whether I am logged in or not the isAnonymous property in the profile
is alway true, and the username does not get set, but the roles
provider recognized that I am logged in and gives me access to
restricted sub-directories.
Can anyone help me out here?
I have enabled Membership on my .NET application. I can add users,
assign them to roles, and log in and out.
the roles work perfectly, however the following code:
bool amIloggedIn = Profile.IsAnonymous;
amIloggedIn is alway = true;
whether I am logged in or not the isAnonymous property in the profile
is alway true, and the username does not get set, but the roles
provider recognized that I am logged in and gives me access to
restricted sub-directories.
Can anyone help me out here?