Results 1 to 5 of 5

Thread: Disable the Back button

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 1999
    Posts
    89
    I got a very interesting way. But it's actually cheating the user. Whenever an user click on a link, that link will bring him to an intermediate page which will redirect him to another page. So when he click the back button, they'll go back to the intermediate page and redirected to the same page. Cool??

  2. #2
    Hyperactive Member compuGEEK's Avatar
    Join Date
    May 1999
    Location
    Mpls,MN,USA
    Posts
    281
    Cool...could you show an example?

    Thanks

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 1999
    Posts
    89
    This is how:

    a.asp

    <html>
    <body>
    <a href="b.asp">link</a>
    </body>
    </html>

    b.asp

    <SCRIPT LANGUAGE="JavaScript">
    <!--
    function Redirect() {
    location.href = "c.asp";
    }
    //-->
    </SCRIPT>
    <html>
    <body onLoad="Redirect()">
    </body>
    </html>

    c.asp

    <html>
    <body>
    testing
    </body>
    </html>

    But i have to say that this is a very stupid way..hehe...I think there's a way using javascript. I'll try to check it out.

  4. #4
    Hyperactive Member compuGEEK's Avatar
    Join Date
    May 1999
    Location
    Mpls,MN,USA
    Posts
    281
    Cool...thanks!

  5. #5
    Lively Member
    Join Date
    Jan 2000
    Posts
    123
    I take it your also trying to "Piss off" your visitors?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width