>> I'm storing a product id as a session variable
>> <cfset session.item=#item#> and am using a _javascript_
>> to allow the users to select the qty of items.

As a rule of thumb I never use _javascript_ for anything that is used in a
transaction, commerce calculation or query against a Database.  I have seen
way too many times where a client browser improperly runs the _javascript_ and
throws an error or returns a false result.  You just cannot rely on the
client�s browser to work properly and it should never be used as part of the
commerce calculation.

We usually keep the Product_ID and the purchase_Qty in session variables
then query the database to get the price and description at check out.


Best regards,

Dennis Powers
UXB Internet - A Web Design and Hosting Company
Wolcott, CT 06716 USA
tel: (203)879-2844  fax: (203)879-6254
http://www.uxbinternet.com/
http://dennis.uxb.net/





=============================================================
This e-mail message has been scanned and certified Virus free




=============================================================
This e-mail message has been scanned and certified Virus free



[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to