File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 agree. Here's the link:
subject: Shared session?
It's not a secret anymore!