Back button on the browser problem

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Back button on the browser problem

    Hi
    In my application I have a wizard and I have to make sure that user can't
    come back to previous page of the wizard. The problem is that is user clicks
    on "Back" button of the brouser he returns to previous page. How can I
    restrict this behavior - let's say showing him - "This page expired" or just
    sending him to totally different page.
    Thanks, Shimon.


    shimonsim@talamus.com Guest

  2. Similar Questions and Discussions

    1. Disable back button in browser and X in top right
      Has anyone ever seen code out there for disabling the back button or the close button? I don't want the user to be able to leave the flex app...
    2. Browser Back button problem
      Dear all I'm having a probelm concerning the security of my application. the problem is when a user is loggoed in and then he looged out i redirect...
    3. How do I disable Back Button in Browser?
      i get incredibly grumpy every time someone asks a question then they get bombarded with 'we have to think of the user' and 'u have no right to mess...
    4. Help with Frames and the Browser Back Button...
      Hi all! I think that it isn't the first time you read this question (I think it is a FAQ)....however.... .... I have a 3-frame page: left, top...
    5. flash detection and browser 'Back' button problem...
      Hello, One of my clients has asked me a difficult problem this week... how to set up his website so viewers can use their browser 'Back' button...
  3. #2

    Default Re: Back button on the browser problem

    Also you could try placing the js history.forward(1) in the pages, people
    shouldnt come back to. This js effectively disables the back button.

    "shimonsim@talamus.com" <estshim@att.net> wrote in message
    news:utyd2F4ODHA.3144@tk2msftngp13.phx.gbl...
    > Hi
    > In my application I have a wizard and I have to make sure that user can't
    > come back to previous page of the wizard. The problem is that is user
    clicks
    > on "Back" button of the brouser he returns to previous page. How can I
    > restrict this behavior - let's say showing him - "This page expired" or
    just
    > sending him to totally different page.
    > Thanks, Shimon.
    >
    >

    Rajesh.V Guest

  4. #3

    Default RE: Back button on the browser problem

    Hi Shimon,

    This is a FAQ for script programming. The general idea is that we couldn't
    do it on server side. For client side, we cannot totally remove the ability
    for the user to go back to the previous location, although we can make it
    harder.

    Please refer to [url]http://developer.irt.org/script/311.htm[/url] for some methods to
    do so.

    Hope this helps.

    Regards,
    HuangTM
    This posting is provided "AS IS" with no warranties, and confers no rights.

    Tian Min Huang Guest

  5. #4

    Default Re: Back button on the browser problem

    Thanks, to everybody how answered me.
    The functionality I am looking for is something that is similar to
    Excite.com functionality.
    The home page has to be updated from the server. If I am going to one of
    the topics and then click on "Back" button the request is sent to the server
    and browser doesn't show me cashed page. I find it very nice (and very
    useful for my application).
    Thanks for answers.
    Simon.

    "Tian Min Huang" <timhuang@online.microsoft.com> wrote in message
    news:Di3g3ELPDHA.2172@cpmsftngxa06.phx.gbl...
    > Hi Shimon,
    >
    > This is a FAQ for script programming. The general idea is that we couldn't
    > do it on server side. For client side, we cannot totally remove the
    ability
    > for the user to go back to the previous location, although we can make it
    > harder.
    >
    > Please refer to [url]http://developer.irt.org/script/311.htm[/url] for some methods
    to
    > do so.
    >
    > Hope this helps.
    >
    > Regards,
    > HuangTM
    > This posting is provided "AS IS" with no warranties, and confers no
    rights.
    >

    shimonsim@talamus.com Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139