Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Set Response 403 from TContentForm.OnBeforeExecute
#2
Hi Jeroen,

I was able to recreate it here. That's an interesting usage of the OnBeforeExeucte method of the content handler. It required a simple fix in the content handlers logic that will be available in the next release.

BTW, you don't need to explicitly set the terminate message, once IW will return 403 - Forbidden, by default once you set the HttpCode, unless you want something different.

Cheers
Reply


Messages In This Thread
RE: Set Response 403 from TContentForm.OnBeforeExecute - by Alexandre Machado - 09-16-2023, 09:14 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)