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??