Too small, throw it back.

Results 1 to 2 of 2

Thread: Too small, throw it back.

  1. #1
    Conrad Guest

    Default Too small, throw it back.

    Once I have send the output to a form, how do I write a response.redirect that sends the user bace to the page the form was on?<BR><BR>Thanks.

  2. #2
    SPG Guest

    Default RE: Too small, throw it back.

    Well, for modularity, I generally just do form processing in the same script as the form is... helps in validation, too! However, you can try for one of the following:<BR><BR>dim linkBack<BR>linkBack = request.serverVariables("HTTP_REFERER")<BR>respons e.redirect linkBack<BR><BR>OR<BR><BR>(in your form, of course...)<BR>&#060;input type=hidden name="formPage" value="&#060;%= request.serverVariables("URL") %&#062;"&#062;<BR>(and in the processing...)<BR>linkBack = request.form("formPage")<BR>response.redirect linkBack<BR><BR>Note that I put the values in variable before passing them to the redirect; I&#039ve found that such extra handling works more reliably than putting the value in the redirect directly.

Posting Permissions

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