consider this problem
- In step 1 user selects a product i am storing $_SESSION['id'] = 55;
- Now user moves to step 2 and opens another product in a new tab.
- Now moves to that tab It's now step 1 for the product2
- Now $_SESSION['id'] is set 56;
- User moves tab 1 and continues to step 3
- But now $_SESSION['id'] = 56 and not 55
How can i prevent this. This is a cooked up problem so would like a generalized solution.