Solved

How to handle the back button in a web application

Posted on 2008-10-24
2
695 Views
Last Modified: 2013-11-12
Greetings, I have a web applications where I do a lot of things on the screen with Ajax/Javascript and unless the user came to the page through a proper link, things don't behave the way they should.  my end user is not very tech savvy and they have a habit of using the "back" button a lot to go from one place to the other.  Other than the usual tricks (prevent back button with javascript, etc...). is there a specific design modal or way in .NET to handle this issue?
0
Comment
Question by:Chaffe
2 Comments
 
LVL 37

Expert Comment

by:samtran0331
ID: 22799655
As far as I know, there is no way to consistently (meaning: across all browsers and all scenarios) to prevent the user from using the "back" button on the browser.  Even with javascript, you'll get mixed results in various browsers.  If you truly don't want the user to have a browser back button, then you might want to launch your app from javascript into a window that doesn't have a toolbar at all...(but again, if the user clicks the "backspace" key on the keyboard, it also works like the browser "back")
0
 

Accepted Solution

by:
Chaffe earned 0 total points
ID: 22800403
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the most frequent problems a "newbie" developer may encounter is having to deal with different data formats. One for all: THE DATE We, as humans, need to "see" a date and then interpret it (much of the times this is an automatic operation)…
The CRUD Functions CRUD, meaning "Create, Read, Update, Delete (http://en.wikipedia.org/wiki/Create,_read,_update_and_delete)" is a common term to data base developers.  It describes the essential functions of data base table maintenance.  This art…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question