Cart empty when going on SSL server...

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

I know, I'm coming back again with this problem, but I really need to progress on my site now and I'm stucked because of that...

My script is working fine when I work on a standard server. But when going on secure server for checkout, the cart is empty, even though executing the same exact command on standard server works fine.

I've read in other postings it might come from the /tmp directory, but I have chmod 777 it and there should be no problem. The funny thing is that it works on several platforms (IE 3.0 on mac for example!!); so I guess there's a problem with SSL configuration.

Is there any standard browser configuration for SSL? Did anyone meet the same problem and solved it?

Any hints will be appreciated, please help.....

Stephane

http://www.vitalsysteme.com

-- Stephane Viaud-Murat (viaud@ti.com), April 17, 1998

Answers

Go through the script and replace REMOTE_HOST with REMOTE_ADDR. This takes care of the problems.

-- george the stinky monkey (not@telling.you), April 19, 1998.

Thanks..... The script is working fine now. It seems like the ENV variable REMOTE_HOST was differently interpreted on the standard and secure server. REMOTE_ADDR gets only the client's IP adress, which was my main concern.

Cheers,

Stephane

-- S, Viaud-Murat (viaud@ti.com), April 20, 1998.


Yes I agree that it does fix the problem but............after replacing all of the REMOTE_HOST with REMOTE_ADDRS sometimes in the order.html when order information is carried over i will get his mess in the order blank Mozilla/4.0 (compatible; MSIE 4.0; Windows 95).

Any quick solution ?

-- JC Lema (jclema@moab.net), October 06, 1998.


The replacing worked PERFECTLY Thank you thank you thank you!!

-- Kevin (keving@businesswebworks.com), August 01, 1999.

Moderation questions? read the FAQ