Professional Web Applications Themes

Back button on the browser problem - ASP.NET General

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....

  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. #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.

    "shimonsimtalamus.com" <estshimatt.net> wrote in message
    news:utyd2F4ODHA.3144tk2msftngp13.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

  3. #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

  4. #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" <timhuangonline.microsoft.com> wrote in message
    news:Di3g3ELPDHA.2172cpmsftngxa06.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

Similar Threads

  1. Disable back button in browser and X in top right
    By nrutter in forum Macromedia Flex General Discussion
    Replies: 1
    Last Post: May 20th, 06:15 PM
  2. Browser Back button problem
    By GMK in forum ASP.NET Security
    Replies: 6
    Last Post: April 25th, 01:42 PM
  3. How do I disable Back Button in Browser?
    By [-e-] Alas in forum Macromedia ColdFusion
    Replies: 8
    Last Post: March 22nd, 03:32 AM
  4. Help with Frames and the Browser Back Button...
    By M. Magistri in forum Macromedia Dynamic HTML
    Replies: 1
    Last Post: April 8th, 12:27 PM
  5. flash detection and browser 'Back' button problem...
    By Rob in forum Macromedia Flash Sitedesign
    Replies: 0
    Last Post: February 4th, 05:49 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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