Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
load IW Form on website
#2
Hi, look this demo: https://github.com/Atozed/IntraWeb/tree/...ntHandlers and create your ContentHandle to respond to your non iw app. You can create something like this:
Code:
http://192.168.1.134:8888/GiveMeSomeHTML
Look in ServerController.
Code:
with THandlers.Add('', 'GiveMeSomeHTML', TContentHTML.Create) do begin
  CanStartSession := True;
  RequiresSessionStart := False;
end;
In your content:
Code:
if Assigned(aReply) then begin
  aReply.ContentType := MIME_HTML;
  aReply.WriteString('<html><head>etc</head></html>');
end;
Reply


Messages In This Thread
load IW Form on website - by Naxe67 - 03-12-2020, 12:05 PM
RE: load IW Form on website - by Jose Nilton Pace - 03-12-2020, 02:54 PM
RE: load IW Form on website - by Naxe67 - 03-12-2020, 04:29 PM
RE: load IW Form on website - by DanBarclay - 03-12-2020, 10:41 PM
RE: load IW Form on website - by Naxe67 - 03-13-2020, 09:26 AM
RE: load IW Form on website - by Jose Nilton Pace - 03-13-2020, 12:06 PM
RE: load IW Form on website - by Naxe67 - 03-18-2020, 04:08 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)