Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback: irt.org FAQ Knowledge Base Q311

Feedback on: irt.org FAQ Knowledge Base Q311

Sent by Scott on January 28, 2000 at 14:08:05: - feedback #772

Worth:
Very worth reading

Length:
Just right

Technical:
Just right

Comments:
Best answer to this question that I have found on the Web, even after spending a while searching.


Sent by Phil on November 09, 2000 at 21:53:33: - feedback #1982

Technical:
Not technical enough

Comments:
It doesn't work if I have a form wil method=Post!

All the data will lost!


Sent by Francisco Sancho on July 23, 2001 at 04:30:25: - feedback #2997

Worth:
Very worth reading

Comments:
I think I found a "solution". Excuse my english, I'm Spanish. You must create two final pages, to avoid the user go BACK. You must use the OnUnLoad event (BODY)where you make the submit (netscape) or the location.href (EXPLORER) to go to one SERVLET. You'll go from one final page to the other using the forward(req,res) in the servlet code. For further explanations I can help you (I hope) from my e-mail address. Bye, Sancho.


Sent by dunney on November 15, 2001 at 10:05:01: - feedback #3329

Length:
Too long

Comments:
Bit of a long road for a shortcut. All you need to do is set up a redirect page to your main page. Every time the user clicks back it will kick him straight back to the page.


Sent by Ted Marquardt on March 28, 2002 at 10:34:33: - feedback #3734

Worth:
Very worth reading

Comments:
The last option that employs the forward() method of the window.history property worked best for me.

The option that employed self.close is not a feasible option according O'Reilly's JavaScript guide since you need UniversalBrowserWrite privileges to close a browser window. When I tried it, I got a warning asking me if I want to close the window.


Sent by vindya on Tuesday February 26, 2008 at 06:45:03 - feedback #5220

Worth:
Worth reading

Length:

Technical:

Comments:
that was helpful for me.thank you soooooooooooooooooooooo much




Sent by KBOBCE on Wednesday June 25, 2008 at 07:40:23 - feedback #5289

Worth:

Length:

Technical:

Comments:
Here's a way to disable "Back" button in FireFox as in MSIE.
<html><head>
<script type="text/javascript">
function noBack(){ window.history.forward(); }
</script>
</head>
<body onload="noBack();" onpageshow="if (event.persisted) noBack();" onunload="">
...
</body></html>
It seems to work flawlessly.




Sent by Martin on Tuesday July 22, 2008 at 03:39:59 - feedback #5301

Worth:
Worth reading

Length:
Just right

Technical:
Just right

Comments:
We are using window.history.forward() method with this script :
<script type="text/javascript">
function noBack(){window.history.forward()}
noBack();
window.onload=noBack;
window.onpageshow=function(evt){if(evt.persisted)noBack()}
window.onunload=function(){void(0)}
</script>
It works with IE, Firefox, Safari, Opera.
Beware of visitors' reactions : they can be very negative.
For use in intranet or https only.




©2018 Martin Webb