saideepak
6 years agoContributor
User cache/Cookie
i am looking to use User cache (set some value) in page init script and access that value in component by using user cache. Is it possible to do that?
<page init script>
usercache.put("ksd", "1");
in custom component
usercache.get("ksd")
is this allowed?
if not, what is the way to achieve this?
My requirement is "open the modal dialogue in first instance when user visits my website and then never show that window again?