Page 1 of 1

Taking orders

Posted: Sat Jul 13, 2002 3:31 pm
by EricS
I'm working on a shopping cart in PHP 4.0.6 and MySQL 3.23.32.

The problem I haven't resolved yet is temporarily storing items customers have selected to buy till checkout.

The two solutions I've seen involve either session variables in PHP or temporary tables in mysql.

Which is the better of the two solutions for this particular application.

Also, when the customer get to the check out, the connection will change to a secure connections using a SSL certificate from Verisign. What if any problems may I encounter?

Thanks in advance.

Posted: Sat Jul 13, 2002 4:52 pm
by jason
Both are good solutions. You can have session's store the session values into a MySQL database, so you can in fact, use both sessions AND MySQL. :D