View Single Post
Old 03-04-2008, 03:43 PM   #11 (permalink)
StevenF
The Contributor
 
Join Date: Jan 2008
Posts: 87
Thanks: 49
StevenF is on a distinguished road
Default

Quote:
Originally Posted by Gareth View Post
You should try putting session_regenerate_id().
I was actually looking at that earlier but never put it into practice. The method I posted above works much better. I originally wanted to store the session_id() in the cart table, and then use that to identify each order. But ever time the person visited the page they would be using a different ID and they would have to start their order again. I like my new method and it's working as intended :)

Thanks all,
Steven
__________________
My Personal and Photo Blog
StevenF is offline  
Reply With Quote