tags: operation and maintenance set-cookie Secure
1. Problem recurrence
The WeChat developer tool cannot set the cookie, and the following error occurs:
This Set-Cookie was blocked because it had the "Secure" attribute but was not received over a secure connection.
Google Chrome cannot set cookies, and the following error occurs:
This attempt to set a cookie via a Set-Cookie header was blocked because it had the "Secure" attribute but was not received over a secure connection.

2. Solution:
Remove the secure of Nginx server location proxy_cookie_path

When the session Cookie does not contain HttpOnly property and secure property, malicious script injection site may access this Cookie, and steal its value. Any information stored in the session token...
What is cookie Cookie(Also known asWeb CookieOr browserCookie) Is a small piece of data sent by the server to the user's browser and saved locally. It will be carried and sent to the server when the b...
Ali machine test system vulnerability (too lazy to type, give a screenshot of the report part): problem solved: Filter it and it will do. CookieFilter.java web.xml Solve the results: Here is a screens...
Cookieapart fromkeywithvalueThere are several properties outside. httpOnly Whether to allow js to read cookies secure Whether to submit cookies only under https link domain The domain of the cookie su...
After the vue project runs and logs in, the back-end sets cookies; but I am a local project, so I keep reporting the problem of login expiration; 1.Yellow warning error for set-cookie set by the backe...
When we use cookies, we can usecookie value | hash_value of the cookieTo set the cookie value. When the client doesn't know our hash algorithm, the client can change the cookie value but can't get the...
Session cookie and persistent cookie difference If you do not set an expiration time, the statement indicates that the cookie period during a browsing session, simply close the browser, cookie will di...
Springmvc cookie Settings Secure SECURE Set to True then Cookies can only be sent to the server with the HTTPS protocol. Create new Filter to add Secure. Override DOFILTER method Web.xml Set Filter in...
Secure determines whether the cookies can be set through the URL of the HTTP protocol PHP sets cookies through SetCookie. The specific parameters are as follows HTTP protocol URL:http://www.test.com/t...
After the ASP.NET CORE MVC project is connected to the IdentityServer4 server login, it stays on http: // localhost: 5001/connect/authorize? Client_id, which cannot be successful. The client ASP.NET C...