Continue Drupal processing after page send.

Posted by David on Stack Overflow See other posts from Stack Overflow or by David
Published on 2010-05-22T21:39:32Z Indexed on 2010/05/22 22:30 UTC
Read the original article Hit count: 150

Filed under:
|

I need to do some additional processing after a Drupal page has been sent.

I know I could fire a background shell command, but I need the current Drupal execution context to be maintained.

I've spent a lot of time looking, but I can't find any documentation in this regard. This is surprising because it must surely be a common requirement.

The only real idea I have is to fire up Drupal (again) via a shell command (exec, etc) and supply it with a pseudo path which would invoke the continued processing. But this seems unnecessarily complex/wasteful.

Any pointers greatly appreciated, tks.

© Stack Overflow or respective owner

Related posts about php

Related posts about drupal