cgiExtraParameters question

I cannot find any information about how to use “cgiExtraParameters” in Pan X or get informations.

In Pan Classic Webserver I have used this regularly to trigger some rules in Web-procedures, but now while I try to convert them to Pan X Webserver this does not run.
What do I wrong?

How can I trigger some rules in a web related procedure depending of the parameters submitted in the URL?

many thanks for every hint, Martin

The web server features of Panorama X are not fully documented, but mostly it is exactly the same as before and you can refer to the Panorama 6 server documentation. This includes the cgiExtraParameters global variable, which works exactly the same as it always has.

I don’t know what this means. cgiExtraParameters has never had anything to do with “triggering” anything. It’s simply a variable that contains the tail portion of the URL, everything after the database and procedure components of the URL. Your procedure can examine this variable to perform different actions based on the contents of the URL, but the variable itself doesn’t “trigger” anything.

This is so vague that I can’t possibly assist in debugging. Have you gotten a web server to run at all?

This documentation page shows a simple example of using cgiExtraParameters and includes quite a bit of information about debugging a web procedure.

triggering I mean something like that:
(and in Pan classic it works for me since many years…)

if cgiExtraParameters contains “logout”
… do some things
cgiHTML = “Du bist nicht eingelogt” + renderwebform(“login”,“”)
rtn
endif

In this case the webform “login” contains a simple login-part where user and password will be asked for, the login-procedure will verify and if the user is registered, it serves the starting webform with all what is needed.

So I’m wondering, how to do this in Pan X, how to do different things in the web-procedure depending of the url-tail.
I could not find any info about cgiExtraParameters in the Help-menue, and it seems Pan X does not react in any way…
what do I miss or what do I wrong?

This code will work in Panorama X exactly the same as it worked in Panorama 6.

Are you sure your form is properly set up? I would suggest setting up a test that doesn’t use renderwebform(.

I don’t understand your use of the word “react”. If you use your browser to send the url for this procedure to the server it will do something. Worst case it will cause an error, but that is still a reaction.

meanwhile after some try and error I could get my new Panorama x instances of the older classic versions running, and now some more work is necessary to make them up to date…