This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
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!