No subject

Archived from the Transloadit support forum. Originally posted on February 4, 2011; details may be outdated, see our docs for current behavior. Original thread

Does the the redirect call always get called before the notification? I’m assuming it does but we’re catching custom information (as hidden fields in the form) and matching it up with the assembly_id on redirect, then using assembly_id to match back against it in the page called by notification. If we were notified before we were redirect this would cause problems.

Does the the redirect call always get called before the notification?

No, you can’t rely on this. The redirect_url will almost always be called first, but if your assembly finishes really quickly for some reason, there could be a race condition here.

(If you are uploading big videos you might be able to ignore this problem, but if you expect very small files, you should write your app so it can receive both calls in any order).

--fg