Set http header from within a block?

Permalink
Is there a possibility for a block controller to set a http header, e.g. to set a cookie?

cgrauer