admin管理员组文章数量:1122832
I just need a pointer or two in the right direction. I made a WP page with a large set of checkbox items to mark a set of tasks as completed, with the intent to also implement counters for a few other tasks. The data scale is about 900 flags or numbers. I have been searching for some kind of best practice within the framework to persist the state of the flags or numbers for many days. I wanted this to behave as an extended session without having to require a user login and, if possible, operate completely client-side.
As I thought about how to do this, I created a basic framework to achieve it with cookies. However, I was using the cookie as a data store, and this scale was far too large. Besides, this seemed a the wrong way to do this from the start.
I think I just need specific search terms to research and direct my effort. Can a store be created on the server that can be tied to a user session without login? Is there a layer of local storage that can be accessed by javascript the same as cookies, persistent for several days, and cleared or expired?
Thank you for your attention.
本文标签:
版权声明:本文标题:javascript - Is there an existing method to store a large set of states (900+ flagsnumbers) for a single form page that it can p 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736304046a1932096.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论