'Redirect' behaviour using webclient

In order to measure website traffic out of newsletter mailings, we thought of creating a small solution which is called by a deeplink with startup arguments.
The startup arguments contains data to go into a database plus a hyperlink which the solution should redirect to.

Basically we run just one startupMethod (‘THE’ startup method) which does the following:

  1. read arguments & store in variables
  2. create dbRecord, set cols with vars, saveData
  3. application.showUrl (urlVar, ‘_self’)
  4. application.exit

Everything works fine until step 4. As soon as we have this added to the method, it says: page expired.
Without step 4, the url is shown fine, but the websession remains in the application server, which is unacceptable.

If we leave step 3 and 4 and put a button on a form which triggers a second method containing step 3 & 4 it works fine and the websession is killed.

Anyone any idea of how to get this work?

Thnkx!

Someone

Please add a support case about this and we’ll have a look. What happens if you do 3) and 4) at form’s onLoad/onShow ?

lvostinar:
What happens if you do 3) and 4) at form’s onLoad/onShow ?

Unfortunately, same behaviour :(

lvostinar:
Please add a support case about this and we’ll have a look

Done that: #231889

Thnkx!