Back button on the browser problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • shimonsim@talamus.com

    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.


  • Rajesh.V

    #2
    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@tala mus.com" <estshim@att.ne t> wrote in message
    news:utyd2F4ODH A.3144@tk2msftn gp13.phx.gbl...[color=blue]
    > 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[/color]
    clicks[color=blue]
    > 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[/color]
    just[color=blue]
    > sending him to totally different page.
    > Thanks, Shimon.
    >
    >[/color]


    Comment

    • Tian Min Huang

      #3
      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 http://developer.irt.org/script/311.htm for some methods to
      do so.

      Hope this helps.

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

      Comment

      • shimonsim@talamus.com

        #4
        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@onlin e.microsoft.com > wrote in message
        news:Di3g3ELPDH A.2172@cpmsftng xa06.phx.gbl...[color=blue]
        > 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[/color]
        ability[color=blue]
        > for the user to go back to the previous location, although we can make it
        > harder.
        >
        > Please refer to http://developer.irt.org/script/311.htm for some methods[/color]
        to[color=blue]
        > do so.
        >
        > Hope this helps.
        >
        > Regards,
        > HuangTM
        > This posting is provided "AS IS" with no warranties, and confers no[/color]
        rights.[color=blue]
        >[/color]


        Comment

        Working...