Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

本番環境でセッションが使えない #55

Open
marcy-terui opened this issue Apr 22, 2016 · 1 comment
Open

本番環境でセッションが使えない #55

marcy-terui opened this issue Apr 22, 2016 · 1 comment

Comments

@marcy-terui
Copy link

marcy-terui commented Apr 22, 2016

CloudFrontによりCookieが遮断されているため、セッションが使用できない。
安易にCookie転送を有効にすると「Cookieが異なるとキャッシュが効かなくなる」=「セッションを使う以上ほとんどキャッシュが効かない」となってしまう。

対策

他に案があれば提案お願いしますm(_ _)m

sugumura added a commit that referenced this issue Apr 23, 2016
セッションが正常に動作していないためCSRF対策を一旦Revertする

This reverts commit ba97965, reversing
changes made to c8d3075.
@n1215
Copy link

n1215 commented Apr 29, 2016

他のやり方だと大掛かりな変更になりそうなので、ひとまずPOSTをGETに置き換えたバージョンでプルリクエスト出します。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants