• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problems with lost sessions

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

request.getSession().setAttribute("attribute");
request.getSession().getAttribute("attribute");

if your problem is not this please. send a snippet of your relevent code. like how you are setting and gettin attribute.
 
This tiny ad will self destruct in five seconds.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic