• 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

Problem in back navigation

 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Solved these by disabling backspace button and removed the menu bar from the browser



and

 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic