I've build a shopping card that uses Sessions to track information before placeing that information into the database.
The problem i've ran into is that after they place an order, if they then go back to shopping and decide to add a new item to the shopping cart and then purchase the item it overwrites the last order them made because I use the session ID as the card ID and order ID for the system.
I can fix this by other methods, but i would prefer to start a new session after the order is saved.
session_id() returns the session id for the current session. If id is specified, it will replace the current session id.
This command addears to be the one i should be useing, but how do i make a session id to give to session_id?
Thanks
Laeelin