Personally , I do this:
MP inserts a job request into the db cluster, redirects to a
'waiting page'. status is 'requested'
a python daemon queries the db cluster every 5 seconds, pulling jobs
to run through. status is 'processing'
when the python daemon is done, it updates the status to
'processed' , and leaves either a sucessess or failure flag
'waiting page' reloads every 6-10 seconds. if it sees 'processed' in
the db, it shows sucesses.
btw, the job insert checks for 'similar' requests and doesn't allow
them.
// Jonathan Vanasco
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
| CEO/Founder SyndiClick Networks
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
| Founder/CTO/CVO
| FindMeOn.com - The cure for Multiple Web Personality Disorder
| Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
| RoadSound.com - Tools For Bands, Stuff For Fans
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -