I'm using unmanaged web reporting and bringing up a report via the URL. The ODBC driver takes additional parameters besides user name, password, and query. Is there a way to pass those additional parameters in the URL?
Passing parameters via the url, or "query string" is incredibly insecure, because data can be edited in the address bar of the web browser, and unexpected results can occur.
You separate the url and parameters with a question mark (?). Then you may have as many name/value pairs of parameters as you like, with the name on the left of the equal sign (=) and the value on the right.
Name/value pairs are separated by the ampersand sign (&).
If you're using ASP or CSP, you get at the values like this.
Declare a local variable, then assign the query string value to that local variable. Or, just reference the query string value directly.
DIM strMonth
strMonth = Request.QueryString("month"
DIM intDay
intDay = Request.QueryString("day"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.