|
<< Click to Display Table of Contents >> Navigation: Telegram > 2021 > 06 > 03 > Telegram_2021-06-03T13 |
2021-06-03T13:11:08
I recently updated an app from IW 14 to 15 and now a part of the app is not functioning as expected.
I have a page that loads and looks for any parameters being passed:
if WebApplication.RunParams.Count > 0 then ...
When this executes it's not seeing any parameters from the URL any longer.
The URL would look something like:
https://somedomain/reset/?gid=9D8AA17B-15FD-4033-A36A-393787023BF2
This seems to run as expected when running the app as a GUI app but not as an ISAPI (ASPX).
Not sure what I am doing wrong.
2021-06-03T13:55:45
For the reset page I am using a handler:
procedure TIWServerController.IWServerControllerBaseConfig(Sender: TObject);
begin
with THandlers.Add('/reset/', '', TContentForm.Create(TfrmReset)) do
begin
CanStartSession := True;
RequiresSessionStart := False;
end;
end;