We have a questionnaire with a product configurator and we are saving the configuration for the user with a session. Somehow the session is not working properly. For some users it's just not saving the session and the user can't see his final configuration. Rather get's in a loop, where he needs to start the questionnaire again. This does not seem browser related.
We use session_id() in PHP to get the session ID. We checked some users randomly and it's not always working properly. Usually removing the session folder solves this issue and it works again. But well this can't be the solution, since everybody elses session gets deleted.
It's difficult to track the issue, since it's not easy to recreate. But what we saw is, that this issue seems to occur, when we upload some changes to the website or theme. Could be an coincidence though. My feeling was, if somebody already had a session saved and we uploaded some changes, that the session is deleted and it's not saving again. But like I said, we could not recreate this.
We are using:
- WP + WooCommerce
- Custom Plugin for Questionnaire
- AWS Server (Cloudways)
- Cloudflare
Any ideas are appreciated!