title: Trouble accessing GET variables in VBscript
body: <p>I'm new to VBscript so there is probably a very simple solution to this.</p>
  
  <p>Basically, I have my main page with buttons that really just act as links to other pages. In the links I wanted to pass information, so I use the standard ?variable=value like so:</p>
  
  <pre><code>&lt;input type="button" name="saveButton" value="Save Systems" onclick="location.href='save.html?step=1'" /&gt;
  &lt;input type="button" name="loadButton" value="Load Systems" onclick="location.href='load.html?step=1'" /&gt;
  </code></pre>
  
  <p>I looked up how to access GET variables in vbscript and every place I looked said to use Request.QueryString("variableName")</p>
  
  <p>So in my save.html page I'm trying to first print the value of step, just to make sure I'm getting it, before I start actually handling all my code. This is where I'm hung up.</p>
  
  <pre><code>&lt;script type="text/vbscript"&gt;
          document.write("&lt;p&gt;in the script&lt;br&gt;")
          document.write("stepVar = ")
          stepVar = Request.QueryString("step")
          document.write(stepVar)
          document.write(stepVar &amp; "&lt;/p&gt;")
  &lt;/script&gt;
  
  ... (rest of the page)
  </code></pre>
  
  <p>(I tried 2 different print statements just in case I was concatenating incorrectly, but neither work.) When I click my save button on the main page, leading me to save.html?step=1, it prints</p>
  
  <pre><code>in the script
  stepVar = 
  (rest of the page)
  </code></pre>
  
  <p>So I guess step is coming back null? Is the reason this isn't working because I didn't submit my variable through a form? That shouldn't have anything to do with it... right? Why am I not getting my variable / how can I get the value of "step" so that I can take different actions depending on the value of my variable?</p>