That is not the answer Next?
> -----Original Message----- > From: Joe Eugene [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 24, 2002 3:18 PM > To: CF-Talk > Subject: Re: ColdFusion MX and Session Variables > > > Check your session locks... > > Joe > ----- Original Message ----- > From: "Nathan Stanford" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Wednesday, July 24, 2002 4:10 PM > Subject: ColdFusion MX and Session Variables > > > > ColdFusion MX and Session Variables... > > > > ColdFusion MX on a Solaris 7 with Apache 1.3.26 Web Server > > > > When I use Session Variables and set a total price to 527 > the Session > > variable would change Randomly too 1052 or 827 and other > such numbers. > > > > I took the exact same code and made them all Request > Variables and it did > > not change at all. > > > > Why is this happening? Is this a know bug. > > > > Code Below > > ==================================================================== > > > > <cfset request.cartquantity=0> > > <cfset request.carttotal=0> > > > > <cfquery name="qry_checkoutcart" datasource="#request.dsnSQL#"> > > SELECT * > > FROM OreckDealerCart > > WHERE OreckDealer_id = #session.dealer_id# > > </cfquery> > > > > <cfif qry_checkoutcart.recordcount eq 0> > > > > <cfelse> > > > > <cfset counter=0> > > <cfoutput query="qry_checkoutcart"> > > > > > > <!--- removed AS400 Query here to get the price ---> > > > > > > > > <cfset price = price*100> > > <cfset subtotal=#price#*#quantity#> > > <cfset request.carttotal=#request.carttotal#+#subtotal#> > > <cfset request.cartquantity=#request.cartquantity#+#quantity#> > > > > </cfoutput> > > <cfoutput> > > <a href="index.cfm?fuseaction=checkout"> > > <img src="/oreckdealer/images/icons/dealer_cart.gif" border="0" > > alt="View Cart"> > > </a> > > #request.cartquantity# Items > #dollarformat(request.carttotal)# Total > > > > </cfoutput> > > > > </cfif> > > > ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

