digitalxaus
Technical User
G'day all
I'm, quite familiar with Coldfuson but a relative newcomer to Flash (5), i have a real headache of a problem, here goes.
I am trying to develop a simple online shopping cart using FL, CF and Access as the DB.
Ive managed to randomly add product info into a flash file via CF, that was no problem. Ive also managed to update the sale quantity and total cost values in the cart, again that seems ok.
My problem is the time it takes to display the information from when requesting the data from CF to displaying it in Flash, it can take uptu 25 seconds to see the data in flash from when i hit the "add to cart" button.
Why is this???
When i run the CF files directly in Explorer they return the values instantly, but if i run the flash SWF file to do the same thing i get this major time delay.
To record the user on the site i am using SESSION Variables to make his cart information unique, i dont know if this is the problem.
Ive tried to work out a looping system that will loop until the info is available, without success (my lack of knowledge with Flash).
The problem lies in the fact that if the user updates the info before the display has loaded it makes a new Session Variable and adds this to the cart, something i definately do not want to happen.
If someone can point me in the right direction i could possibly get my sanity back, cheers
I'm, quite familiar with Coldfuson but a relative newcomer to Flash (5), i have a real headache of a problem, here goes.
I am trying to develop a simple online shopping cart using FL, CF and Access as the DB.
Ive managed to randomly add product info into a flash file via CF, that was no problem. Ive also managed to update the sale quantity and total cost values in the cart, again that seems ok.
My problem is the time it takes to display the information from when requesting the data from CF to displaying it in Flash, it can take uptu 25 seconds to see the data in flash from when i hit the "add to cart" button.
Why is this???
When i run the CF files directly in Explorer they return the values instantly, but if i run the flash SWF file to do the same thing i get this major time delay.
To record the user on the site i am using SESSION Variables to make his cart information unique, i dont know if this is the problem.
Ive tried to work out a looping system that will loop until the info is available, without success (my lack of knowledge with Flash).
The problem lies in the fact that if the user updates the info before the display has loaded it makes a new Session Variable and adds this to the cart, something i definately do not want to happen.
If someone can point me in the right direction i could possibly get my sanity back, cheers