1 回答
- 最新
- 投票最多
- 评论最多
0
As I understand, Laravel CSRF "token" is stored in user session.
Where are you storing your session data? If this is files, you will need to change it to an external shared data store. This can be database, dynamodb, redis/memcache (Elasticache). It will allow all your instances access to session data.
As a workaround, you can enable ALB sticky sessions. However, it will have some impact on scalability as web requests are not evenly distributed across all your instances.
相关内容
- AWS 官方已更新 9 个月前
- AWS 官方已更新 8 个月前
- AWS 官方已更新 9 个月前
- AWS 官方已更新 10 个月前