- Joined
- Feb 9, 2022
- Messages
- 3
- Reaction score
- 0
Hello,
I'm very new to PHP and have begun using SESSION variables.
Everything seems to work with setting session_start() and passing SESSION values in a forward direction. What I need to understand is what happens when the browser 'back' button is pressed. My data disappears when this happens. Do those pages no longer belong to the same SESSION? Why is the data now missing? I'm sure it is something fundamental I've not done, but my research has come up empty thus far.
I'm working on an e-commerce checkout application and would like to either preserve the data with the back button press or redirect the customer to begin again. The data entry is extremely simple so starting over should not be an issue.
I'm very new to PHP and have begun using SESSION variables.
Everything seems to work with setting session_start() and passing SESSION values in a forward direction. What I need to understand is what happens when the browser 'back' button is pressed. My data disappears when this happens. Do those pages no longer belong to the same SESSION? Why is the data now missing? I'm sure it is something fundamental I've not done, but my research has come up empty thus far.
I'm working on an e-commerce checkout application and would like to either preserve the data with the back button press or redirect the customer to begin again. The data entry is extremely simple so starting over should not be an issue.