I am developing a website, which is having a user login area, using master page and have login control on it.
There are various roles and based on roles, user is diverted to relevant page. For this purpose, I had created an onClick event of login form.
The following code is used to divert users to admin area.
Roles.IsUserInRole(Login1.UserName, "Administrators") Then
The transfer is working fine, but strangely, the login status is not updating to logout. It still shows login.
Thanks in advance.
View Complete Post