location.replace and form submiting

Results 1 to 2 of 2

Thread: location.replace and form submiting

  1. #1
    Join Date
    Dec 1969

    Default location.replace and form submiting

    I don&#039t want my pages in the history so I use location.replace in java-script for my internal links.<BR>Now here&#039s the problem, is it possible to submit a form to an ASP-page and at the same time replacing the form page with the ASP-page. It&#039s essential that the page actually gets replaced.<BR>I know I can do it using query-strings but I really want to do it by submiting the form, and hence be able to use request.form in the ASP-page instead of request.querystring.<BR>Does it make any sense?

  2. #2
    Lurker Guest

    Default RE: location.replace and form submiting

    Not sure if this is what you are after, but try submitting the form to itself. Then in your ASP code you can process the posted elements and then move on to the new page without the original form redrawing.

Posting Permissions

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