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:
- read arguments & store in variables
- create dbRecord, set cols with vars, saveData
- application.showUrl (urlVar, ‘_self’)
- 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