Solved

How to handle the back button in a web application

Posted on 2008-10-24
2
699 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Software development teams often use in-memory caches to improve performance. They want to speed up access to, or reduce load on, a backing store (database, file system, etc.) by keeping some or all of the data in memory.   You should implement a…
Introduction This question got me thinking... (http://www.experts-exchange.com/questions/28707487/GLOBALS.html) Why shouldn't we use Globals? This is a simple question without a simple answer.  How do you explain these concepts to a programmer w…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

687 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