• 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

session lost in client machine

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
when I did a session.setAttribute("A","123") on one page and tried to access it via session.getAttribute("A") in another jsp page, it returned a null value.

This happens only in client machine (for eg. http://clientPC:8080/myApp) but not in the machine where I've installed Resin in.

Is there any setting or misconfiguration in the client machine that caused this error?
 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Use the isNew() method to find out if the session was lost in the first place. Also check if your browser supports cookies.
 
Alan Yap
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Haven't tried isNew yet but browser used is IE6 and I've tried various "privacy" settings until the lowest (means accept all cookies).

This is the very first time I've encountered such problem after deploying my apps in previous customer's LAN. Really mind boggling indeed.

no problem with application scope variables though.
reply
    Bookmark Topic Watch Topic
  • New Topic