problem with session.invalidate
Hi,
I have to display a final screen(last screen of the application) and then invalidate the session. The problem is where should I put my session.invalidate() code. I am populating the data to be displayed on the screen within the constructor of the backing bean. When I put session.invalidate() in the last part of constructor code, I get"java.lang.IllegalStateException: Session was invalidated" error. How do I invalidate the session and also display the data in the final screen.

