Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Sep 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    help needed to modify a URL parameter

    My Javasript program_1 receives URL and parameter
    (i.e. http://mysite.html?xxx )

    program_1 then goes to next page using window.location

    If the user presses the browser 'back' key, then I want the
    URL and paramater to be http://mysite.html?zzzz
    so that I can detect that they have used the browser 'back' key
    and take other action.

    Alternatively, is there any way to detect / identify that the user has used the 'back key' in Internet Explorer ? Program_1 supplies purchaser with an access code, and I do not want the user to be able to get a second code.

    Any suggestion how to do this?
    Last edited by donjeff; 12-06-2006 at 06:48 PM. Reason: modify query

  • #2
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    you can not change the url without adding the page to the history unless you play with hash.

    Eric
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]

  • #3
    New to the CF scene
    Join Date
    Sep 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks - However, do you know if there is any way to be able to detect that the user of Internet Explorer has used the 'back key'?


  •  

    Posting Permissions

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