Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3688

Command Line Arguments for Web

$
0
0

I want to test using some Command Line Arguments in the Shared>Debug area in the IDE for my Web App. I have tried:

u=85
?u=85
/?u=85

But when I run my app in Debug and cycle through the URLParameters, it says that Session.URLParameterCount = 0.

For tempInt As Integer = 0 To Session.URLParameterCount - 1
  Var URLParameterName As String = Session.URLParameterName(tempInt)
  Var URLParameter As String = Session.URLParameter(URLParameterName)
  URLParameter = URLParameter
Next

I tried to retrieve the URLParameters in a Built App, but it still was empty.

How should you add URLParameters to a Debug Session and retrieve URLParameters from either a Debug or Built Session?

4 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3688

Trending Articles