Here's my scenario. During signup for my app - i trigger a few PHP method calls that are long running (e.g. get UserFriendLikes, etc using OpenGraph API).
I want the methods to run in the background without the user noticing it - and leave the method to complete at its own time.
Whats the best way to acheive it? Does just calling longRunningMethod() from the user signup page work - or is there anything else i need to do to ensure that it is not terminated when user navigates to another page, etc?