Two IP addresses in tmp file and recalculate doesn't work. : 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 (, March 01, 2000


I have implemented cookies with my cart. If you are interested to know more, email me at

God bless!

-- Patrick Chan (, March 20, 2000.

Thanks Patrick,

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 (, March 20, 2000.

Moderation questions? read the FAQ