URL parameter passing to CGI

First, let me say I have tried to search with every keyword I can think of and still can’t find what I am looking for.

What I want to do is pass a variable through the URL call to my Xojo CGI and read it in the program.

For example, if my cgi is called test.cgi and I want to pass the value of abc123 to it, I would typically think to enter www.mysite.com/cgi-bin/test.cgi?value=abc123

I have tried System.CommandLine which doesn’t pass the value, it returns only the command the server uses to execute the CGI.

Thanks in advance for your help.
Jim

Take a look at Session.URLParameter, should give you what you need.

Thank you Phillip!

That was exactly what I was looking for.

Cheers,

Jim