Sorry to post this as urgent, but I asked this question a couple 
weeks ago, never got an answer, and the problem has cropped up again.

Is there some sort of problem with using the word "total" as a client 
variable? For some reason, and I can't figure it out for the life of 
me, my darned cart is not updating client.total. I can put stuff in 
the cart, the total reads right, but when I go to another page, there 
is no link to the cart page. The link is inside:

<cfif client.total GT "0">Link to cart</cfif>

Now, when I add something else to the cart, everything else is still 
in there. I can update quantities. Delete items. I set a variable 
adding up the items then show:

Total: #dollarformat(variables.total)#

Then set <cfset client.total = variables.total>

variables.total always displays correctly. I've even gone to the very 
end of the cart page, where nothing can possibly load afterward and 
set:

<cfset client.total = 10>

I am actually looking at the record in the client storage database. I 
can watch "data" change every client variable, such as quantities, 
adding and deleting items, etc., but no matter what I do client.total 
stays at 0. I even changed the application name in case something 
else was interfering. The files are exactly the same as stores where 
it works fine. And this one was working fine until this morning, then 
voila, the problem crops up again. I had written it off to Gremlins a 
couple weeks ago after it went away.

This only seems to happen where I have multiple instances of the cart 
under the same domain or IP Address (during development). But I have 
the applications named different and every variable except 
client.total updates correctly. I don't want this problem to crop up 
in a live environment.

I'd kill for an answer to this. It's got me by the you know what.

5 gold stars to anyone that can give me a clue.
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to