SSL Problem & Cookies

greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread

Hi there,

A lot of discussion has been made about the SSL transactions and the unique cart. I guess its all about the $reffile that when you send the SSL host it changes IP and the cart erases. Well, I havent solved the problem but I guess the beter solution is cookies. Since I cant get cookies work, does someone could done it so far? Please, I am really desesperatly, the cart is really configurable and excellent, except for this little detail.

Thanks a lot.

Felipe

-- Felipe Torres (ftorres@interactive.cl), October 16, 1999

Answers

Your whole program must also be in the SSL server. Reason is that when an item has been added in to the cart, a temporary file has been created to store the item information. Therefore, if your script is at two different location, the SSL site will not be able to capture the information.

Anyway, I have inplemented cookies with my cart. If you are interested to know more, email me at patrickccf@hotmail.com.

-- God bless!

-- Patrick Chan (patrickccf@hotmail.com), March 19, 2000.


Moderation questions? read the FAQ