Bookmark Topic Watch Topic
  • New Topic

Browser Back Calling Action again  RSS feed

 
Ramesh Kumar
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,

I have a peculiar problem. From the browser window, when I click on back button, the data is not returning it from cache but it is hitting the action classes and getting the results. This has become a performance issue.

If you have any idea, please help me out as its very urgent for me to fix this bug.

Thanks in advance,

Ramesh Kumar
 
Peter Chase
Ranch Hand
Posts: 1970
  • Mark post as helpful
  • send pies
  • Report post to moderator
This is in the wrong forum.

It is very difficult, sometimes impossible, to control what happens when user presses Back button in the browser in a complex Web application. Try Googling for "ajax back button" or "dhtml back button" for more info.
 
Jeevan Philip
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Report post to moderator
You seem to have a "form submit" happening when page loads...
 
Ganpi Srinivasan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Report post to moderator
Or it could also be that the form on the previous page has the POST action. In that case, the browser could submit the form again.

See the link below for more details:

link
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!