Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem in back navigation  RSS feed

 
Raaja Gotluru
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working in a web project where I am getting two issues in navigation.

1. In first page after saving the data it will go to second page and from there if I click back navigation button in the browser the first page will appear and user can modify the data he already saved and click again to save as this page is for both edit and save I am not getting idea how to solve this.

for this I googled and tried like this but this didnt worked in chrome.



2. In IE, in another page, if I click on back navigation button on the browser I will get page not found error. If I refresh or F5 I will get that page back but the data will be not there. This data we receive from db and request.

Please help me in solving this.
 
Raaja Gotluru
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Solved these by disabling backspace button and removed the menu bar from the browser



and

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In other words, you hacked a band-aid. Do you really think that's going to work in general? How are you going to deal with browsers that have gestures to go back? Or users that have mapped back to different key combinations?

In other words you have not solved the problem -- you've simply tried to mask it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!