How to do two sessionStorages

0

I'm doing a testing system with an API and I'm using pure javascript for AJAX integration. I am storing the data in local and sessionStorage to route between the pages. My problem is this:

I store the data of a category in sessionStorage and when I make another code to store data of another object in sessionStorage, it does not create the new session. Is it anyway or do you have a way to create two sessions?

    
asked by anonymous 10.02.2018 / 13:45

0 answers