Simple Answer: No.

Lengthly Answer: You don't really want to do this, though at first you might think that you do. Ask yourself the question of what if the user has a 'flakey' network connection? People still use modems & some backwoods phone networks still drop you to lower baud rates, etc... What if the connection simply wasn't properly made? What if they're hitting BACK for a reason? NO,nonononono. You don't want to even TRY this.

Further, you'd be messing with the average surfer's normal procedure of 'doing their thing.' That's a great way to become unpopular fast. Don't try to outguess your users & treat them like they're stupid. (even if they are)

They real way to do this is to have the server see what they're doing, anticipate it, & deal with it gracefully.

Exception to the rule:So you're dead set on doing this huh?... Simple. Open a new browser window. There will be nothing to go BACK to...



Wait! This isn't a Parachute, this is a Backpack!

In reply to Re: Reload/Repost Disable by gregor42
in thread Reload/Repost Disable by toddler

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.