Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
example.com と www.example.com の Cookie を設定する応答を返そうとしています。リクエストの送信元ドメインの Cookie しか設定できませんでした。誰かが私を正しい方向に向けることができますか?
ああ!set_cookie() にはドメイン パラメータがあります。
response.set_cookie('name', 'value', domain='.example.com')
問題が解決しました。