Hi, everybody:
I used coldfusion for the website of my company since this August. Everything works fine, except one minor problem:
In my program, before I write anything into the database, every informaiton is stored in the session, including price, quantity, totalprice... And the session is supposed to be stored in server memory. At the last step of checkout, I write info into databse.
But today I met a problem, I got the wrong quanity, right price, and right totalprice which is stored in my order table. For example, quantity=11(instead of 2), Price=$10
and totalprice=$20
So it means, the session variable is not coordinated before writing to the DB and doing the calculation.
I believe it must be a bug in Coldfusion, since I run my website for so many times without calculation mistakes like that.
I don't know what is the reason. My Web server is NT 4.0 plus CF4.5, running on PIII 450 and so is Database server, which is using Oracle. Memory of my server is also very big:
512MB.
I try to ask if you have met the same problem before.
Let us discuss about that.
Thanks
I used coldfusion for the website of my company since this August. Everything works fine, except one minor problem:
In my program, before I write anything into the database, every informaiton is stored in the session, including price, quantity, totalprice... And the session is supposed to be stored in server memory. At the last step of checkout, I write info into databse.
But today I met a problem, I got the wrong quanity, right price, and right totalprice which is stored in my order table. For example, quantity=11(instead of 2), Price=$10
and totalprice=$20
So it means, the session variable is not coordinated before writing to the DB and doing the calculation.
I believe it must be a bug in Coldfusion, since I run my website for so many times without calculation mistakes like that.
I don't know what is the reason. My Web server is NT 4.0 plus CF4.5, running on PIII 450 and so is Database server, which is using Oracle. Memory of my server is also very big:
512MB.
I try to ask if you have met the same problem before.
Let us discuss about that.
Thanks