Is it possible to write a file(image) in the session and pass the JSON through AJAX?

Actually you need to obtain from the user image, but his handling, or rather transfer to the server is scheduled according to the logic of the site only through two or three pages. Is there a way to "remember" the loaded image in memory?
June 14th 19 at 20:50
2 answers
June 14th 19 at 20:52
to do all the moves on one page or change the logic and get the image before sending
unfortunately, this is the bad advice. - Sallie_Nitzsche commented on June 14th 19 at 20:55
the best Council which you can receive, but your application is initially made incorrectly, so now you are scratching your head

programming is about making life easier, all to himself, and not about creating problems out of nowhere and courageous overcoming them - Pedro65 commented on June 14th 19 at 20:58
all right, current problems must be solved by programming, and not the decision to come under the programmer. - Sallie_Nitzsche commented on June 14th 19 at 21:01
and what actually prevents you to load via ajax the rest of the steps? O_O - Jefferey.Carroll commented on June 14th 19 at 21:04
in fact of the matter is that all steps are loaded step by step through the plugin Magnific Popup, the loading of the image is somewhere in the middle of the survey. - Sallie_Nitzsche commented on June 14th 19 at 21:07
well you do as be piled. Alternatively, you can directly upload all the steps, all as one big popup form and switch like tabs, i.e. visible only to the active step and all the others are hiding. - Jefferey.Carroll commented on June 14th 19 at 21:10
, the city on the basis of - load every next step via AJAX, not racking up customers from loading large amounts of data. In neighboring response advised base64, soon I will try. - Sallie_Nitzsche commented on June 14th 19 at 21:13
you have a pure form? On one pure form of data is not much, and the pictures are not loaded yet hidden. It is much easier once all shipping.
, :) - Jefferey.Carroll commented on June 14th 19 at 21:16
can even without a pop-up when PC with and without tabs :) - Pedro65 commented on June 14th 19 at 21:19
I would try to load all at once if with base64 will not work. Thank you.

please my not heard? I still ask a specific question within a specific library and not asking to implement for me.. am I Using in parallel one or the other decision the question of the third order. If You are competent in this matter (other users in a smaller number of responses were provided more solutions compared to You), please unsubscribe from a topic. - Sallie_Nitzsche commented on June 14th 19 at 21:22
June 14th 19 at 20:54
How to convert the image to Base64 and store in localStorage. And when you need to get to the server, and the serv already back converts...

Find more questions by tags JSONjQueryAJAX