Two IP addresses in tmp file and recalculate doesn't work.greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread
When orders are placed from behind a firewall ( a specific one, actually), two files are generated in the tmp file. The shoppers can view the contents of the cart, but when they try to change quantities and recalculate, nothing is updated. Refreshing the screen does nothing.
Everything works fine from other networks...
There are three or four solutions for similar problems listed here, anyone know what the best/easiest one might be? (I am guessing from previous posts that "best" is pretty subjective.)
cookies? REMOTE_HOST to REMOTE_ADDR? Unique ID instead of IP for carts? adding the "$p_id = ($$ % 10000);" to the $host line?
-- Alex Maynes (email@example.com), March 01, 2000
I have implemented cookies with my cart. If you are interested to know more, email me at firstname.lastname@example.org.
-- Patrick Chan (email@example.com), March 20, 2000.
I got a cookie-based solution working based on some earlier posts to this board and some other cookie info on some other sites. It is working now.
-- Alex Maynes (firstname.lastname@example.org), March 20, 2000.