Hybrid development, both pages have search function, use localstorage to achieve historical search, but will share! Excuse me, how can we not share?

hybrid development, both pages have search function, use localstorage to achieve historical search, but will share! How can I avoid sharing? the localstorage data of page A will not affect page B

.

distinguish between key values

the history search storage mode of

A page
localStorage.setItem ('keyA',vala);


localStorage.setItem ('keyB',valb);

the history search storage mode of

B pages

take values on demand when fetching data

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35d51-2bfcb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35d51-2bfcb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?