title: vbscript server side validation
body: <p>Basically I have a page named <code>dvds.asp</code> with a form that goes to <code>action="process.asp"</code>. The <code>process.asp</code> script validates the <code>Name</code>, <code>Surname</code> and <code>Email</code> fields. I would like that if the email does not exist, a redirect will occur to the original page (<code>dvd.asp</code>) and also display a custom error. </p>
  
  <p>The validation of the email field and redirect I know how to do. The only problem is how I am going to get the custom error value in the <code>dvds.asp</code>.</p>
  
  <p>Any help please? :)</p>
  
  <p><strong>FYI:</strong></p>
  
  <p>I am using this code in <code>process.asp</code> to validate:</p>
  
  <pre><code>if txtEmail = "" then
  Server.Transfer(Request.ServerVariables("HTTP_REFERER"))
  else
  </code></pre>
  
  <p>Now  the error I want to show on the <code>dvds.asp</code> page is: "Please fill in your email" .. How I can do that please?</p>