0 Replies Latest reply on Jun 12, 2006 12:17 PM by r y

    How to restart all Session Beans???

    r y Newbie

      Hi,

      I am doing some tests with de Websale example, and I have created new "request" and "session" Beans.
      The problem is, when I select to log in as another user, the "session" scope Beans still in memory (because the session with the server is valid), and that is a problem.

      Anyone now how can I do to erase or to force the new init of that "session" beans in the application server when an user log out or a new user log in??

      I now that with a servlet I can invalidate a session, but with the websale example, I am not working with servelts ... or am I?? In this case, how I get the current "HttpSession" to invalidate it??

      Thx you all,
      R.