CFMX does not require session locking...

----- Original Message -----
From: Joe Eugene <[EMAIL PROTECTED]>
Date: Wednesday, July 24, 2002 2:18 pm
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>
> > 
> > <img src="/oreckdealer/images/icons/dealer_cart.gif" border="0"
> > alt="View Cart">
> >       
> >       #request.cartquantity# Items 
> #dollarformat(request.carttotal)# Total
> >
> > </cfoutput>
> >
> > </cfif>
> > 
> 
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
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

Reply via email to