I've read in several places that if a user is assigned a new role and user is currently logged in, they have to logout and login back in to activate their new role assignment. Question - Is there any way around this?
Background - I'm capturing the user_loggedin event and if the user does not have the proper role assignment, I assign them the role (which works perfectly by the way). The problem is...well, they are in the process of logging in already. Now they have to logout and log back in to have access to the proper site content. Can I, via PHP, log them out "under the covers" and start the login process again without the user being the wiser?
Thanks for any and all ideas...
Richard