0

Does Magento 2 allow JavaScript session storage?

Description: Actually, I want to store data inside the session of JS and utilize it in other phtml files which are actually replacing the previous one. For example, I have phtml1 and phtml2, I am replacing phtml1 by phtml2 but I want to use some value from phtml1 in phtml2 for which I am using JAVASCRIPT session.

0

Yes, session storage is nothing to do with Magento as it is core browser functionality.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.