I am trying to send a parameter to a web app using a GET request. The parameter is ignored when I run the compiled app on the server and I would like to be able to send the parameter to the debugger. Adding it to the command line doesn’t seem to work.
?Price=1 to the URL I send to the Apache server. The code in my page’s Shown event starts with
dim parValue As Integer
if mySession.URLParameterCount > 0 Then
for i as Integer = 0 to mySession.URLParameterCount -1
if mySession.URLParameterName(i) = "Price" Then
parValue = mySession.URLParameter("Price").CDbl
The next part of the code looks for parValue in a cookie. If the cookie is there, everything works. If its not there, parValue = 0 no matter what value is sent in the GET request.