Can anyone help me how to do session management in jsf?
if its ok for you, please give me a sample or source code so that ill understand quickly
thanks in advance...
posted 5 years ago
JSF gives you the possibility to put your (managed) beans in different scopes, for example the session(-scope). Look at the <managed-bean> tag in the faces-config.xml. Further, I'don't think that JSF provides ways of dealing with the (content of your) session. Cause JSF is based on the Servlet API you should look into this Servlet API. You 'll find there the reqiuired interfaces (e.g. HTTPSession) and methods (e.q. request.getSession()) for dealing with the session.