Atozed Forums
Intraweb 15.0.x, Http.sys and cookies creation problem - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: Intraweb 15.0.x, Http.sys and cookies creation problem (/thread-531.html)



Intraweb 15.0.x, Http.sys and cookies creation problem - aimpera - 07-31-2018

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.


RE: Intraweb 15.0.x, Http.sys and cookies creation problem - Alexandre Machado - 07-31-2018

(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


RE: Intraweb 15.0.x, Http.sys and cookies creation problem - Alexandre Machado - 07-31-2018

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