Hmm... I thought about copying the whole image-string into a $_SESSION-Variable, and display it directly through the script via imagecreate/imagejpeg.
I will try that, but I don't think that would be the final solution because of the unproper use of memory.
Of course I could try to write own session-handlers and put the images into a database which should work pretty fast.
Anyway, my favourite solution would be to create a temporary folder named with the session_id.
My only problem is, how to get rid of the folder after the session is destroyed. . .
... I fear the only way is to write own session-handlers, again.
If anyone knows a simpler method, please tell me.