Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cookies are always "Session"
#1
I'm using Intraweb 16.0.4 on Delphi 10.2 (Update 3). In ServerController|CookieOptions I have the following:

CookieNameSuffix: <empty>
HttpOnly: false
RunCookieCheck: true
SameSite: ssoLax
Secure: false
SessionCookies: false
UseCookies: true

I create a cookie with this call:

    WebApplication.response.Cookies.AddCookie('Username', xUser, '/', Now + 180);

I create three other cookies in the same manner.

However, upon inspection in the browser, all the cookies are created as session cookies. This is true in Firefox, Chrome and various other browsers.

How do I generate persistent cookies?
Reply


Messages In This Thread
Cookies are always "Session" - by Peter Home - 03-07-2025, 06:22 AM
RE: Cookies are always "Session" - by rlebeau - 03-08-2025, 11:59 PM
RE: Cookies are always "Session" - by Peter Home - 03-11-2025, 12:44 AM
RE: Cookies are always "Session" - by Peter Home - 03-11-2025, 10:48 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)