Netscape 4.6 Dropping Items in Cart : LUSENET : S-Mart Shopping Cart : One Thread

Has anyone experienced Netscape 4.6 dropping items in cart after they press buy1?

-- Matt Droter (, June 03, 1999



I have the same problem. It is the "get_host" command can not read the host when you go to the secure server. A quick fix is to find in your "s-mart.cgi" file the line

"# Get the hostname, for file reference"

two lines down add this in.

"$ghost = $host;" and change "$host" to "$ghost" at the end of the second line below that.

It should look like this.

# Get the hostname, for file reference sub get_host { $ghost = $host; $host = $ENV{'REMOTE_HOST'}; $reffile = "$tmpdir$delim$storename-$ghost"; }

Try it and let me know if it works for you.


-- James L. Farmer (, June 03, 1999.

Moderation questions? read the FAQ