title: Using Session values inside VBScript
body: <p>This is an excerpt from an old authentication technique.  I'm trying to assign a different value to the <code>Document.Form.XXXXX.Value</code> variables.  The values I want are stored inside a Session variable from a separate .asp file.</p>
  
  <p><strong>Is there any way to use classic ASP Sessions inside VBScript?  Or is there any way to store the Session variables' values in such a way that they can be used inside a VBScript block?</strong></p>
  
  <pre><code>&lt;script language="VBScript" type="text/vbscript"&gt;
      ...
  Document.Form.txtUniqueID.Value = Auth.QuicklookID
  Document.Form.txtUserID.Value = Auth.NTUserID
  Document.Form.txtDomain.Value = Auth.NTDomain
  Document.Form.txtUsername.Value = Auth.UserName
  Document.Form.txtBusinessName.Value = Auth.BusinessName
  Document.Form.submit()
      ...
  &lt;/script&gt;
  </code></pre>
  
  <p>Any help or clarification will help immensely, I'm a newcomer to VBScript.</p>