|
<< Click to Display Table of Contents >> Navigation: Telegram > 2021 > 03 > 26 > Telegram_2021-03-26T11 |
2021-03-26T11:06:20
Refresh to the parameters of what? What is sent in the redirect? Run parameters are for the start parameters, and redirect is not the start of the session so no as far as I can see...
2021-03-26T11:11:04
I create a ContentHandle to handle one redirect i have:
type: pre function TContentHandle.Execute(aRequest: THttpRequest; aReply: THttpReply; const aPathname: string; aSession: TIWApplication;
aParams: TStrings): boolean;
begin
Result := True;
if Assigned(aReply) then
aReply.SendRedirect('http://1.2.3.4:8888/1234.html?cnpj=' + aParams.Values['cnpj']);
aSession.Terminate;
end;
end. language: