i am creating a shopping cart setup but without the use of cookies. I am planning on the following setup:
page1. search results
page2. cart
page3. cart summary before order is complete.
Ok now page1 is fine. With page2 i am planning on adding items into the table cart but also i need to a unique id so that i can reference the session to the cart. I have heard of SIDs (session ids) which i think i can use.
If i create a session and session id when the user enters the site, when they place an item into the cart add the id along with the product into the cart table. Then retreve the cart details via the session id, so hopefully when the user views cart it will use the session they are on. Also i hope the remove cart entries when page3 is confirmed (again can use session id).
So what i need to know is how exactly do i create session id’s? Also how can i find out the session id when its created (so i can reference it), i plan on starting (and hopefully finishing) this tomorrow so if anyone can post some ideas for me to try out i can test them out 2morw.
thanks
ceanth