Access-Control-Allow-Credentials: true
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: http://localhost:8081
Connection: close
Content-Length: 164
Content-Type: application/json
Date: Wed, 18 Oct 2023 15:25:21 GMT
Server: Werkzeug/2.2.3 Python/3.11.3
Set-Cookie: session=eyJfcGVybWFuZW50Ijp0cnVlLCJsb2dpbl90aW1lIjoiMjAyMy0xMC0xOCAyMzoyNToyMS4yNDA1MDYiLCJ1c2VybmFtZSI6ImFhYSJ9.ZS_44Q.yMOor7D3UZQdU2O9e5ODOIDj4WA; Expires=Wed, 18 Oct 2023 15:55:21 GMT; HttpOnly; Path=/
Vary: Cookie
```明明有Set-Cookie,但是就是在前端不显示,而且在向服务端传Cookies的时候也没有值
python的flask
```python
session['username'] = db_username # 将用户名存储在 session 中
session['login_time'] = str(datetime.now()) # 存储登录时间
session.permanent = True
username = session.get('username')
login_time = session.get('login_time')
if username and login_time:
username = session['username']
这个username 的值是None