Nov 15, 2007 09:19 AM|DisturbedBuddha|LINK
See my above solution. You can't do what you are trying asynchronously, because as you said, it isn't waiting around for the response. The solution I gave you works synchronously, just like calling any other function and getting a return value before moving
on to the next line of code.