Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
issue with migrate delph 11 iw15 to delph 13.2 iw 16.2.6
#1
Delphi 13.2 / IntraWeb 16.2.6 ISAPI, migrated from Delphi 11 / IW15. A custom TContentBase handler accepts GET. POST reaches OnExecuteRequest and its form fields parse correctly, but with RequiresSession=True, neither OnBrowserCheck, OnNewSession nor Execute runs; response is 404. With RequiresSession=False, Execute runs with a nil session. CanStartSession=True; RequiresSessionStart=False. The API must support an initial POST without a preceding GET.
Reply
#2
Found the issue. needed to set  SessionOptions.AllowApiTools = True in servercontroller.
Reply
#3
(11-03-2026, 09:24 PM)PDSBILL Wrote: Delphi 13.2 / IntraWeb 16.2.6 ISAPI, migrated from Delphi 11 / IW15. A custom TContentBase handler accepts GET. POST reaches OnExecuteRequest and its form fields parse correctly, but with RequiresSession=True, neither OnBrowserCheck, OnNewSession nor Execute runs; response is 404. With RequiresSession=False, Execute runs with a nil session. CanStartSession=True; RequiresSessionStart=False. The API must support an initial POST without a preceding GET.

Dealing with session timeouts or state loss in IntraWeb when handling asynchronous requests can be super tricky. Have you found that adjusting the ServerController settings or adding explicit lock handling helps stabilize it, or are you still seeing erratic disconnects?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)