if you are an asp guru....heres a challenge!

Results 1 to 3 of 3

Thread: if you are an asp guru....heres a challenge!

  1. #1
    Raymond Guest

    Default if you are an asp guru....heres a challenge!

    need help on this as well:<BR>user clicks on a page, views it then hits the exit link or button, or link to another page. the user gets to the other page no problem...the user tries to back up to the previous page using the browser back button or another method and cannot.<BR>How is this done? any ideas? we do not want to close the browser window and open a new one.<BR><BR>thanks in advance....Ray

  2. #2
    Chris Willey Guest

    Default RE: if you are an asp guru....heres a challenge!

    Set a session variable when they move to the second page. If the first page detects the variable, automatically redirect them to the second page again.

  3. #3
    John Harvey Guest

    Default RE: if you are an asp guru....heres a challenge!

    The easiest way is to not use ASP...<BR>for the button (or whatever) define an onClick event. Instead of using a window.location.href="someURL", use<BR>window.location.replace("someURL"). This will not add the page to the history list, then if the user hits back, it will not be in the list, so will not show up again. (make sense?)<BR>Example:<BR>&#060;input type=button value="Next Page" onClick="window.location.replace(&#039someURL&#039 )"><BR>Regards,<BR>John Harvey

Posting Permissions

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