Solved

How to handle the back button in a web application

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Introduction A frequently used term in Object-Oriented design is "SOLID" which is a mnemonic acronym that covers five principles of OO design.  These principles do not stand alone; there is interplay among them.  And they are not laws, merely princ…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now