Win a copy of Spark in Action this week in the Open Source Projects forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

session issue

 
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are using HttpSession frequently in our application. I have a situation where I wanted to use session more efficiently. For e.g. on first page user selected an item, I put that in session. On next page user selects some other item, which I am attaching to first one and so forth have couple of more pages. Now if user clicks "back" and "forward" browser buttons several times (sometimes with new values in sesssion by changing some params and clicking done on the page) sometimes w/o changing anything click on "forward" of browser. Things look screw after these activities.

Is there a better way to handle Session? I plan to look into EHCache (that's what hibernate uses) to replace HttpSession. Do you think it's a good idea but for now I will have to deal with session atleat for first release of the application, which is next week. Any ideas.
 
Vicky Pandya
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anybody with ideas?
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic