Data storage can be accomplished in the following ways.
- POST the data in a form.
- Append the data to a URL (GET)
- Write the data to a cookie on the client.
- Write the data to a session file on the server.
- Write the data to a database or a file on the server filesystem.
There might be others, but this is pretty much the sum of it. As you're using [man]header/man, you can't POST. Probably you're looking for #2. But what if they pick a whole freakin' lot of stuff? I'd encourage you to think about [man]session[/man]s for shopping carts, unless it's just way too much effort 'cause the system is trivial...