File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Problems with lost sessions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problems with lost sessions" Watch "Problems with lost sessions" New topic

Problems with lost sessions

Ricardo Alvarado

Joined: Feb 23, 2004
Posts: 19
I have this problem...

Lets say we have 3 jsp pages (or servlets)....

A ----> B ----> C---->

When I pass session variables from A to B, the session persistence seems to be ok, I'm getting all the values and everything looks great.
When I pass these values from B to C it seems some of these
session variables are missing..

I'm working with WebSphere and the weird thing it is working in a specific server and in other it is not working.

I think it could probably be a session persistence configuration issue but I can't find the source of this problem...

Do someone know, or maybe have experience this kind of problem?

Thank you
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
couldn't understand. your passing A to B and then B to C. just place it in your session. and then get it from any of your jsp or servlet. isn't it.


if your problem is not this please. send a snippet of your relevent code. like how you are setting and gettin attribute.
I agree. Here's the link:
subject: Problems with lost sessions
It's not a secret anymore!