The Image name is the same every time so this would not work. If I did attempt to store the image as you suggested, it would be with a different session (the server sets the session to expire after 0) so the image would be different.
Kind regards
Phi Hollingworth.