"Because the "SameSite" attribute of the cookie "PHPSESSID" is set to "None" but the "Secure" attribute is missing, this cookie will be rejected in the future." What should I do if this problem occurs?
打不倒的陶陶
打不倒的陶陶 2021-05-10 10:15:24
0
1
5216

Because the "SameSite" attribute of cookie "PHPSESSID" is set to "None" but the "Secure" attribute is missing, this cookie will be rejected in the future.

打不倒的陶陶
打不倒的陶陶

reply all (1)
灭绝师太

The prerequisite for setting the "SameSite" attribute to "None" is that the Secure attribute must be set at the same time, such as: Set-Cookie: widget_session=abc123; SameSite=None; Secure (Cookies can only be sent through the HTTPS protocol), otherwise it will be invalid.

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!