2 Replies Latest reply on Apr 9, 2003 4:42 AM by petertje

    Problem with logout and dynamicly changing roles

    damencho

      I use JBoss 3.03 with tomcat 4.12, Form authentication and a custom login Module.
      My problem is that a user login a give him his roles from the database, than he logouts. A change him roles and when he logsin again he is with the roles asigned to him at the last login, not the new one. This is not this way if between the two logins I restart JBoss. And this is not a browser cacheing problem because I'm making the two logins with different browsers.
      Actually I think the user isn't logingout ( I call session.invalidate() ).
      How to solve this problem can anyone help.