Two Days of Stress Later
-
I've been trying to track down a problem with a system for two days now. Currently it operates like a standard transaction system: 1) Server Sets up Transaction and gets Key 2) Server Redirects to relevant site with Key 3) User Process Transaction 4) Site Redirects to Server with Key 5) Server Checks state of Transaction and logs data. However, I was getting randomly (about 1/30) a situation with Transaction Not Found when the site redirected to the server with the transaction Key, the server was unable to locate the record. This was driving me NUTS for 2 days, until i discovered that it was actualy doing a double request, and the second request was setting up a new transaction and overwriting the origional Key in our systems. When the Site posts back, the key was no longer in our system, having been overwritten. Now i just need to decide how to handle it. Tris
------------------------------- Carrier Bags - 21st Century Tumbleweed.
-
I've been trying to track down a problem with a system for two days now. Currently it operates like a standard transaction system: 1) Server Sets up Transaction and gets Key 2) Server Redirects to relevant site with Key 3) User Process Transaction 4) Site Redirects to Server with Key 5) Server Checks state of Transaction and logs data. However, I was getting randomly (about 1/30) a situation with Transaction Not Found when the site redirected to the server with the transaction Key, the server was unable to locate the record. This was driving me NUTS for 2 days, until i discovered that it was actualy doing a double request, and the second request was setting up a new transaction and overwriting the origional Key in our systems. When the Site posts back, the key was no longer in our system, having been overwritten. Now i just need to decide how to handle it. Tris
------------------------------- Carrier Bags - 21st Century Tumbleweed.
Solution would be to avoid doing "real" work on the Web.
-
Solution would be to avoid doing "real" work on the Web.
Sage advice. Wish i could :D
------------------------------- Carrier Bags - 21st Century Tumbleweed.