• 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

strange problem with session

 
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys,


Today i faced a very weird problem with session. though i was able to get a workaround but still i am curious to know the root of the problem.

i had a working setup of my project at my machine. i was asked to share code with my team mate. he copied the same source on to his machine and setup the ide we use that is jdeveloper.


the problem which we got was that the session id was getting changed between first action class and second action class. though the same code was working on other machine.

the attributes that we had set were getting lost as if someone has created a new session in the way. but how did the same code worked on other machine.


we tried the following but of no use

1. restart ide
2. restart machine
3. checking the app from a different browser on different machine.
4. deleted cookies browser cache and all.

finally we created a new project with same code again, and it worked.

i was unable to understand what could have went wrong...
 
Yogesh Gandhi
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i was looking for struts page...but i didnt saw it on home page that is why i decide to put in servlet category...
thanks for moving it to proper category...
reply
    Bookmark Topic Watch Topic
  • New Topic