Results 1 to 4 of 4

Thread: Disable Back and Forward button in Web Browser control Panel

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Location
    Windsor
    Posts
    100

    Disable Back and Forward button in Web Browser control Panel

    Hi,

    I am using ASP screens, I like to Disable Back and Forward button on the control panel of the Internet browser. Also, when a user run an ASP page and access the other ASP page from it, I like to close the first page after accessing second one.

    Is there any way to do this with HTML, ASP or JavaScript ?

    Thanks,

    Naci

  2. #2
    Frenzied Member DeadEyes's Avatar
    Join Date
    Jul 2002
    Posts
    1,196
    In javascript there's a location.replace()
    it will replace one displayed document with another,
    but it does not create a new entry in the history file.
    So when the back button is clicked it will not take the user
    back to your previous page but the one before that which
    didn't use the replace.
    Not what you want but a hack you might consider if stuck

  3. #3
    Fanatic Member Kings's Avatar
    Join Date
    Aug 2001
    Posts
    673
    You can't disable the back (and forward) button. Read this article for a few work-arounds, http://www.4guysfromrolla.com/webtech/111500-1.shtml
    K i n g s

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Location
    Windsor
    Posts
    100
    Hi DeadEyes and Kings

    Thank very much for your support


    Naci

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