A1VBCode Forums

Really Simple VBScript problem (Embarassingly Simple)


http://a1vbcode.com/vbforums/Topic27853.aspx

By Mobius - 6/29/2009

So, I have a need to write a small script in the form of a web page so that we can poll it from an IVR system that will go out to a database, find a value based on an argument passed to the web page script, and return an XML response. However, I don't quite know how to pass arguments to a web page that's running a vbscript in the first place. It would be similar to this:

html
body
script type="text/vbscript"
If WScript.arguments(0) <> "" Then
arg1 = "WScript.arguments(0)"
End If
document.write(arg1)
document.write("Hello.......")
/script
/body
/html

In this though, I used code that I know works for passing parameters to a locally run VBScript. Is it done the same way?

I just want to be able to do something like this:

http://site/?SOME_PARAMETER

....and the script would pick up the value of "SOME_PARAMETER".

I know, simple, right? I'm not really a developer anymore so I'm kind of rusty. Any ideas?

By arjonsk - 8/6/2010

how do we make asp check the case of the strings entered.i currently have a running db login... the thing is that i cant make asp check the case of the passwords entered..... and my search pages cant distinguish between "product" and "product" in a search page.







online bingo