Atozed Forums

Full Version: Intraweb 15.0.x, Http.sys and cookies creation problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
Intraweb 15.0.9 on Delphi 10.2.3 (Tokyo)

Code for create a cookie:


Code:
WebApplication.Response.Cookies.AddCookie('name', 'value', IncDay(date, 30));


With Indy mode ( TIWStart.Execute(True) ) works correctly

With new Http.sys ( TIWStartHsys.Execute(True) ) the cookie is'n created.

Why?

Best Regards, Alf.
(07-31-2018, 08:22 AM)aimpera Wrote: [ -> ]Hi,
Intraweb 15.0.9 on Delphi 10.2.3 (Tokyo)

Code for create a cookie:


Code:
WebApplication.Response.Cookies.AddCookie('name', 'value', IncDay(date, 30));


With Indy mode ( TIWStart.Execute(True) ) works correctly

With new Http.sys ( TIWStartHsys.Execute(True) ) the cookie is'n created.

Why?

Best Regards, Alf.

Hi Alf,

I can confirm that setting multiple cookies in Http.sys server can fail, that's why you are getting this. There is a fix ready in our code base. We should be releasing a new update really soon (15.0.10) which should fix this.

Kind regards
Hi,

this has been fixed in latest update: https://www.atozed.com/2018/07/15-0-10/

Please let me know if you have any other issues.

Kind regards