ServerController.Sessionoptions.UniqueURL and WebApplication.Runparams ? - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: ServerController.Sessionoptions.UniqueURL and WebApplication.Runparams ? (/thread-1176.html) |
ServerController.Sessionoptions.UniqueURL and WebApplication.Runparams ? - SorenJensen - 08-12-2019 Hi Guys, Regarding SA HTTP.SYS application, both as service and as GUI: When I have the ServerController.Sessionoptions.UniqueURL set to true, the URL will look something like this: http://127.0.0.1:8888/MyApp/Wo6F3EKYa0DEL1EeCF3xDmW/ I'm trying to add a Webapplication.runparams functionality to the application to get a startup value into my application. It works when I set the UniqueUrl to false, but not when it is set true. At least not the way I try it: With UniqueUrl = false, I can make it work with http://127.0.0.1:8888/MyApp/$/start/?{value} But when it is true, http://127.0.0.1:8888/MyApp/Wo6F3EKYa0DEL1EeCF3xDmW/$/start/?{value}, does not work. How can I make Webapplication.runparams available in my application with UniqueUrl set to true ? Regards Soren RE: ServerController.Sessionoptions.UniqueURL and WebApplication.Runparams ? - Jose Nilton Pace - 08-12-2019 Hi Soren, start your application in the same way, with or without UniqueURL set to true. http://127.0.0.1:8888/MyApp/$/start/?{value} RE: ServerController.Sessionoptions.UniqueURL and WebApplication.Runparams ? - SorenJensen - 08-12-2019 Hi Jose, I see what you mean. By starting the app with http://127.0.0.1:8888/MyApp/$/start/?{value} (and UniqueUrl = true) it works AND after the appl is launched, the URL has been changed and now show the UniqueUrl, replacing MyApp/$/start. But ?{value}is still at the end of the url: http://127.0.0.1:8888/Wo6F3EKYa0DEL1EeCF3xDmW/?{value} However, the value has been recorded at startup, and it doesn't appear to have any consequences that the /?{value} is still part of the Url. I'll find out more as I go along testing it. Regards Soren |