I want 2 javascript methods to access certain data without passing this data to any of the methods as arguments. Basically I want one method to set the data and other to consume that data using the objects already available in the browser and I want the solution to work with Safari, Firefox, Chrome and IE8+ also iOS and android browsers. I believe session storage does not work on iOS. Is it correct? What are the drawbacks of session storage. I tried to append the data to the event object but it does not work in firefox and IE.
Copyright Notice:Content Author:「Akshay Shinde」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/30772134/what-are-the-alternatives-to-html5-session-storagenot-local-storage