Last post Apr 04, 2005 02:00 PM by cflbasser
Apr 01, 2005 04:42 PM|cflbasser|LINK
I've added some code to the sql sp Portal_AddUser to automatically add all users to a role called "Logged In":
insert into Portal_UserRoles
Once a user registers, the app redirects the user to DesktopDefault.aspx but the tabs that should be visible for the "Logged In" role aren't visible. I assume it is because the role list is created during
Application_AuthenticateRequest. How would I go about mimicking that code so that the role list is recreated after a new user has registered?
Apr 04, 2005 02:00 PM|cflbasser|LINK
For anyone interested, I was able to solve this on my own. In register.aspx, I added the following sub:
And then called that sub from RegisterBtn_Click(). This is basically the same code that is executed in Application_AuthenticateRequest.