Solved

How to handle the back button in a web application

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
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.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Edureka is one of the fastest growing and most effective online learning sites.  We are here to help you succeed.

912 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

20 Experts available now in Live!

Get 1:1 Help Now