This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSF and the fly likes Shared session? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » JSF
Bookmark "Shared session?" Watch "Shared session?" New topic

Shared session?

Michal Glowacki
Ranch Hand

Joined: Mar 14, 2006
Posts: 114

I've got 4 applications, they share some common libraries. From some time I face following problem. If I am logged (I save logging info in session bean) into 2 of them in the same browser (cookie right?) after some actions, usually maximum 2 pages change I'm logged off one or both of them.

What can be the problem? I do not use "invalidate" anywhere except logout functions that I never use when got the problem.

If I could shoot, I'd say the problems started when I added those classes to my shared library:

+ entry in web.xml

All 4 applications use them to display custom error pages.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Shared session?
It's not a secret anymore!