Insert follow to you session bean:
@In Context sessionContext;
this instance provide different methods for session manipulation.
Ok, thank you KoniKoni for the first time.
An what can I do to initialize a value like main.xhtml at startup?
Is it possible?
in pages.xml i have now a call to init method to initialize the start-value.
@In Context sessionContext works gread.