It's not clear to me why you would want to use CQ5 to serve the static pages of a site, since that usage isn't one of its strong points. But let's move on. Why do you want a session in CQ5? If your JEE app uses the MVC pattern then it should be the controller. The pages loaded from CQ5 should use t...