Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

S2: caching problem,-user clicks on a link and then back w/ broweser data is lost  RSS feed

Peter Primrose
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Here's a scenario that drives me crazy:
1. A user fill up a form (a date) and clicks submit
2. An Action return a List of items related to the user input
3. The list is returned as an ID (AJAX) to the form
4. User sees the list and can click a URL from the list

Problem: When the user clicks a url from the list and then click BACK on the BROWSER - the list is GONE and he needs to input the date/data again.

can anyone explain why this happens and how to circumvent this?


report_id is where the new data will appear (the list)

The result from the action is a list added to the Session

Again, once the user clicks the URL and go back with the browser all data is lost and he needs to re-input.

* I tried to remove the request, response in the file above - nothing; user still need to input data again.

Thanks for any pointers!
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!