Solved

How to handle the back button in a web application

Posted on 2008-10-24
2
696 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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)…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

740 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