Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Http.sys questions
#17
Is this a sync call?

I believe you can completely remove your ChangeResponseCodeFromOKToRedirect() call, can't you?

Short answer:

The TerminateAndRedirect process will set Code to 303 (which is more adequate than 302 and used in most parts of IW 15.2) and adds the header correctly.

Long complete answer:

TerminateAndRedirect has been reworked to be smarter and especially SAFER without user intervention.

Whenever you redirect to another root address (i.e. another site) a GET will always be used (so no sensitive data is ever POSTed to another site). POST redirect is only used when you are using the same root url (same IW application) and the data is needed (e.g. session info).

I believe you are pretty safe using TerminateAndRedirect() to another site
Reply


Messages In This Thread
Http.sys questions - by magosk - 11-30-2021, 03:52 PM
RE: Http.sys questions - by Jose Nilton Pace - 11-30-2021, 04:51 PM
RE: Http.sys questions - by Alexandre Machado - 12-02-2021, 08:43 AM
RE: Http.sys questions - by magosk - 12-02-2021, 09:04 AM
RE: Http.sys questions - by magosk - 12-07-2021, 12:52 PM
RE: Http.sys questions - by kudzu - 12-17-2021, 07:22 PM
RE: Http.sys questions - by magosk - 12-20-2021, 10:17 AM
RE: Http.sys questions - by kudzu - 12-20-2021, 08:47 PM
RE: Http.sys questions - by magosk - 12-21-2021, 06:51 AM
RE: Http.sys questions - by Alexandre Machado - 01-12-2022, 08:34 PM
RE: Http.sys questions - by Alexandre Machado - 01-12-2022, 08:43 PM
RE: Http.sys questions - by magosk - 01-13-2022, 07:20 AM
RE: Http.sys questions - by Alexandre Machado - 01-19-2022, 06:20 AM
RE: Http.sys questions - by DanBarclay - 01-22-2022, 11:00 PM
RE: Http.sys questions - by magosk - 01-24-2022, 02:10 PM
RE: Http.sys questions - by magosk - 01-26-2022, 04:08 PM
RE: Http.sys questions - by Alexandre Machado - 01-27-2022, 04:16 AM
RE: Http.sys questions - by magosk - 01-27-2022, 07:45 AM
RE: Http.sys questions - by Alexandre Machado - 01-27-2022, 09:18 PM
RE: Http.sys questions - by magosk - 01-28-2022, 06:32 AM
RE: Http.sys questions - by magosk - 01-27-2022, 12:21 PM
RE: Http.sys questions - by Alexandre Machado - 01-27-2022, 09:19 PM
RE: Http.sys questions - by magosk - 01-31-2022, 12:42 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)