sharing the session object
posted 7 years ago
Session is one to one with Transaction and User. So I would think that whatever you think you need to share the session for, there is a much cleaner better solution for you. If you want to share loaded data amongst users, look into using a second level cache like EHCache, JBoss Cache, or TerraCotta.