12-26-2024, 07:12 PM
I am using Intraweb 15.6.1 with C++ Builder (Rad Studio 10.2.3).
I noticed that it is not possible to open IWForm2 from IWForm1 using Ajax if the ServerControler CookieOptions has the following settings:
1. SameSite=ssoNone
2. UseCookies=True
I have attached a demo.
I will prefer to be able to keep UseCookies=True to be sure that cookies are cleaned when the browser is closed!
UseCookies: Boolean; [Published, Read/Write]
I noticed that it is not possible to open IWForm2 from IWForm1 using Ajax if the ServerControler CookieOptions has the following settings:
1. SameSite=ssoNone
2. UseCookies=True
I have attached a demo.
I will prefer to be able to keep UseCookies=True to be sure that cookies are cleaned when the browser is closed!
UseCookies: Boolean; [Published, Read/Write]
Quote:When True, IntraWeb will use cookies to do all the session management, on the browser side. When SessionCookies is False, the cookies will be persistent, i.e. even if you close and reopen the browser, the cookie will be preserved. On the other hand, when UseCookies is True and SessionCookies is also True, IntraWeb will create HTTP session cookies which are not persistent, meaning that the session will be lost, on the browser side, when the browser is closed.