function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
GstartGstart 

How to pass image between Visualforce Pages without saving it?

I have designed a page where I get the user to upload an image in >apex:inputFile>. Now, I should pass the selected image to the next page and only should save it after user clicks on the "Submit" button in the next page. How should I do this?
Raj VakatiRaj Vakati
Hi , 
I never tried it hands on. But this is the options. 
  1. Convert the image as BLOB and Send it the second Page 
  2. It will not work with your solutions but you may extend your thought. Store image to some docs or another pace and pass this id to the second page. After saving on the second page delete the image stored in another place