Jump to content

SetCoockie() и атрибут sameSite


x11

Recommended Posts

Firefox в консоли выдает такое предупреждение:

Quote

Кука «XXXXXXXX» вскоре будет отклоняться, поскольку её атрибут «sameSite» установлен в значение «none» или в недопустимое значение, и в ней отсутствует атрибут «secure». Чтобы узнать больше об атрибуте «sameSite»

Может быть авторы UniGUI в новых версиях фреймворка сделают параметр ASecure в методе UniGuiApplication.UniApplication.Cookies.SetCookie() по умолчанию включенным?

Link to comment
Share on other sites

Оказалось, что если соединение не защищено, а параметр ASecure включен, то куку установить нельзя :(

 

UniApplication.Cookies.SetCookie(..., ..., Now + 30, True);

 

Link to comment
Share on other sites

  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...