Q

Prevent save conflicts if user goes back; trap _back_ action

Since there is no way to prevent the users from using the "Back" button or going back with a right-mouse click or using the "Backspace" key, how can we prevent having problems such as save conflicts in a Web application if the user goes back? Can the "Back" action be trapped in any way?
There is no way that I know of to completely disable the "Back" functionality. However, you try to use the onUnload event of the page to redirect them back to the page... The problem is that this event fires anytime the page is unloaded, not only when they click back... You could try manipulating the expiration time of the form so that when they try go back, the form is not resubmitted, or you could try to build logic into the application to prevent inadvertent saves...
This was last published in April 2002

Dig Deeper on Lotus Notes Domino Administration Tools

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

  • How do I size a UPS unit?

    Your data center UPS sizing needs are dependent on a variety of factors. Develop configurations and determine the estimated UPS ...

  • How to enhance FTP server security

    If you still use FTP servers in your organization, use IP address whitelists, login restrictions and data encryption -- and just ...

  • 3 ways to approach cloud bursting

    With different cloud bursting techniques and tools from Amazon, Zerto, VMware and Oracle, admins can bolster cloud connections ...

SearchContentManagement

Close